aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/GeneralMainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/main_window/GeneralMainWindow.cpp')
-rw-r--r--src/ui/main_window/GeneralMainWindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/main_window/GeneralMainWindow.cpp b/src/ui/main_window/GeneralMainWindow.cpp
index 2eb9f2a4..e3577199 100644
--- a/src/ui/main_window/GeneralMainWindow.cpp
+++ b/src/ui/main_window/GeneralMainWindow.cpp
@@ -102,6 +102,9 @@ void GpgFrontend::UI::GeneralMainWindow::slot_restore_settings() noexcept {
}
}
+ if (size_.width() < 600) size_.setWidth(600);
+ if (size_.height() < 400) size_.setHeight(400);
+
this->move(pos_);
this->resize(size_);
}