summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-07 02:31:07 -0400
committerGitHub <noreply@github.com>2019-10-07 02:31:07 -0400
commit7fae2fb9f1d81a352eb6169b0a3a4c7671b94dfb (patch)
tree6f88b935a6bb78b526489dc5b4e9aa089dba64b9 /src/mainwindow.cpp
parent97d58a17bdf7b8b29b413c54490c863b875b8a59 (diff)
parentc28d435ed41f9e693a0d7f09482a86b963fae6ff (diff)
Merge pull request #854 from isanae/categories-collapse-fix
Categories panel collapsing
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3b977dd6..76109e00 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1208,13 +1208,12 @@ void MainWindow::hookUpWindowTutorials()
void MainWindow::showEvent(QShowEvent *event)
{
- readSettings(m_OrganizerCore.settings());
-
- refreshFilters();
-
QMainWindow::showEvent(event);
if (!m_WasVisible) {
+ readSettings(m_OrganizerCore.settings());
+ refreshFilters();
+
// this needs to be connected here instead of in the constructor because the
// actual changing of the stylesheet is done by MOApplication, which
// connects its signal in runApplication() (in main.cpp), and that happens