force redraw table after add/remove VM (#598)

This commit is contained in:
Marek Marczykowski 2012-06-19 00:17:22 +02:00
parent 24432ea1bc
commit f38ee18729

View File

@ -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()