diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-06-16 12:47:36 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-06-16 12:47:36 +0200 |
| commit | f8bb349b3ee0ea2ccd9c2e8965697c3cd34079f4 (patch) | |
| tree | 2e0955e8ac6ab4fc898f4f0e91ca85ff49a44e37 /src | |
| parent | f66cf4ad99219716e221f2a6717b910e531bc7d3 (diff) | |
Move userInterfaceInitialized notification at the end of the first show event.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6a18f76c..b3e78121 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -539,8 +539,6 @@ MainWindow::MainWindow(Settings &settings processUpdates(); ui->statusBar->updateNormalMessage(m_OrganizerCore); - - m_OrganizerCore.userInterfaceInitialized(this); } void MainWindow::setupModList() @@ -1384,6 +1382,9 @@ void MainWindow::showEvent(QShowEvent *event) m_OrganizerCore.settings().nexus().registerAsNXMHandler(false); m_WasVisible = true; updateProblemsButton(); + + // Notify plugin that the UI is initialized: + m_OrganizerCore.userInterfaceInitialized(this); } } |
