From f1adcf5dcb5d9c34048c26f5e3138c488b60ace0 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 30 Dec 2012 23:22:37 +0000 Subject: [PATCH] Claudia: Fix launcher small UI --- doc/TODO | 1 - src/claudia.py | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/TODO b/doc/TODO index ed15cf0..e38c34d 100644 --- a/doc/TODO +++ b/doc/TODO @@ -26,7 +26,6 @@ Claudia: Claudia-Launcher: - Finish plugins - - Very small horizontal UI, need first fix - Auto-close option ------------------- diff --git a/src/claudia.py b/src/claudia.py index 8703c87..18ea204 100755 --- a/src/claudia.py +++ b/src/claudia.py @@ -557,7 +557,10 @@ class ClaudiaLauncherW(QDialog): self.launcher.saveSettings() def loadSettings(self): - self.restoreGeometry(self.settings.value("Geometry", "")) + if self.settings.contains("Geometry"): + self.restoreGeometry(self.settings.value("Geometry", "")) + else: + self.resize(850, 500) self.launcher.loadSettings() def closeEvent(self, event):