summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-20 22:11:30 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-20 22:11:40 +0100
commite28e316f6fc364953a6f14bf0433044d942251b6 (patch)
treee6fbd7b42d83b102a436d60440d137c083d4d3c9
parent20a87c9cb966e418da055424670b9e661097441d (diff)
Fix empty loglist after startup.
-rw-r--r--src/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a79aca2f..5b4e87ab 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1209,8 +1209,12 @@ void MainWindow::showEvent(QShowEvent *event)
m_WasVisible = true;
updateProblemsButton();
- // Notify plugin that the MO2 is ready:
+ // notify plugins that the MO2 is ready
m_PluginContainer.startPlugins(this);
+
+ // forces a log list refresh to display startup logs
+ ui->logList->reset();
+ ui->logList->scrollToBottom();
}
}