From 4eee5c03c13c7e3308d34cb285f36e9900d83ed3 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 6 Apr 2011 23:45:23 +0200 Subject: [PATCH] Preserve main window position --- qubesmanager/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index df4f990..2f0291a 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -441,8 +441,10 @@ class VmManagerWindow(QMainWindow): self.connect(self.table, SIGNAL("itemSelectionChanged()"), self.table_selection_changed) + cur_pos = self.pos() self.setFixedWidth (self.get_minimum_table_width()) self.fill_table() + self.move(cur_pos) self.counter = 0 self.shutdown_monitor = {}