Preserve main window position
This commit is contained in:
parent
a880c52881
commit
4eee5c03c1
@ -441,8 +441,10 @@ class VmManagerWindow(QMainWindow):
|
|||||||
|
|
||||||
self.connect(self.table, SIGNAL("itemSelectionChanged()"), self.table_selection_changed)
|
self.connect(self.table, SIGNAL("itemSelectionChanged()"), self.table_selection_changed)
|
||||||
|
|
||||||
|
cur_pos = self.pos()
|
||||||
self.setFixedWidth (self.get_minimum_table_width())
|
self.setFixedWidth (self.get_minimum_table_width())
|
||||||
self.fill_table()
|
self.fill_table()
|
||||||
|
self.move(cur_pos)
|
||||||
|
|
||||||
self.counter = 0
|
self.counter = 0
|
||||||
self.shutdown_monitor = {}
|
self.shutdown_monitor = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user