Sfoglia il codice sorgente

fix mainwindow flashing issue

Le Tan 6 mesi fa
parent
commit
ac20b7f80c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/widgets/mainwindow.cpp

+ 2 - 0
src/widgets/mainwindow.cpp

@@ -75,6 +75,8 @@ MainWindow::MainWindow(QWidget *p_parent)
 
     setupShortcuts();
 
+    loadStateAndGeometry();
+
     m_dockWidgetHelper.postSetup();
 
     // The signal is particularly useful if your application has to do some last-second cleanup.