Fix Windows CI crash due to execute order.

This commit is contained in:
2026-07-17 09:11:03 +08:00
parent bec52b46b3
commit b103697662
+4
View File
@@ -1336,8 +1336,12 @@ bool Core::SaveProject()
void Core::ShowStatusBarMessage(const QString &s, int timeout)
{
// The main window only exists after StartGUI(); in tests and other
// contexts that construct Core without a window, do nothing.
if (main_window_) {
main_window_->statusBar()->showMessage(s, timeout);
}
}
void Core::ClearStatusBarMessage()
{