Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

LogViewer: Don't refresh on initialization #2949

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Logs are refreshed on initialization of log viewer window which slows down tray application launch.

Description

Refresh of logs is triggered on first show of the window instead of on initialization.

Testing notes:

  1. LogViewer module must be enabled
  2. Start of tray should be a little bit faster
  3. Log viewer should still show logs on showing the window

@iLLiCiTiT iLLiCiTiT self-assigned this Mar 24, 2022
@iLLiCiTiT iLLiCiTiT requested a review from kalisp March 24, 2022 14:22
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Mar 24, 2022
@iLLiCiTiT iLLiCiTiT added this to the next milestone Mar 24, 2022
@iLLiCiTiT iLLiCiTiT merged commit 644b2f6 into develop Mar 24, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/log_viewer_refresh_on_init branch March 24, 2022 14:29
Comment on lines +35 to +36
if self._frist_show:
self._frist_show = False
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: first_show

@BigRoy
Copy link
Collaborator

BigRoy commented Mar 24, 2022

Haha - with PRs being merged this fast typos will creep in. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants