src/main.cpp

changeset 268
fb319526ba6c
parent 264
76a025db4948
child 272
9d52b119b3f5
--- a/src/main.cpp	Mon Jun 27 01:29:03 2022 +0300
+++ b/src/main.cpp	Mon Jun 27 01:49:20 2022 +0300
@@ -709,7 +709,6 @@
 				}
 			}
 		});
-	mainWindow.setWindowTitle(title());
 	mainWindow.tabifyDockWidget(ui.messageLogDock, ui.toolOptionsDock);
 	mainWindow.restoreGeometry(setting<Setting::MainWindowGeometry>());
 	mainWindow.restoreState(setting<Setting::MainWindowState>());
@@ -720,6 +719,7 @@
 	}
 	restoreSettings();
 	updateRenderPreferences(&ui, &renderPreferences, &documents);
+	mainWindow.setWindowTitle(title());
 	mainWindow.show();
 	const int result = app.exec();
 	saveSettings();

mercurial