From f38ee1872912f9065469f7e2b5ac3555e63fefe4 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 19 Jun 2012 00:17:22 +0200 Subject: [PATCH] force redraw table after add/remove VM (#598) --- qubesmanager/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index a974b25..7bc68e0 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -885,9 +885,9 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow): self.reload_table = False self.table.setSortingEnabled(True) + self.showhide_inactive_vms(True) + self.set_table_geom_size() if not self.show_inactive_vms: - self.showhide_inactive_vms(True) - self.set_table_geom_size() self.showhide_inactive_vms(self.show_inactive_vms) self.set_table_geom_size()