summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b5900c6c..ea202064 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2201,7 +2201,10 @@ void MainWindow::readSettings()
{
const auto& s = m_OrganizerCore.settings();
- s.geometry().restoreGeometry(this);
+ if (!s.geometry().restoreGeometry(this)) {
+ resize(1300, 800);
+ }
+
s.geometry().restoreState(this);
s.geometry().restoreDocks(this);
s.geometry().restoreToolbars(this);