Changes according to @marmarek's request
This commit is contained in:
parent
5af2709029
commit
45959aef71
@ -395,8 +395,13 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
|
|||||||
return [vm for vm in self.qubes_app.domains]
|
return [vm for vm in self.qubes_app.domains]
|
||||||
|
|
||||||
def update_single_row(self, vm):
|
def update_single_row(self, vm):
|
||||||
|
# this fuction should be used to update a row that already exists
|
||||||
|
# to add a row, one needs to use the update_table function - the
|
||||||
|
# whole table needs to be redrawn (and sorted)
|
||||||
if vm in self.qubes_app.domains:
|
if vm in self.qubes_app.domains:
|
||||||
self.vms_in_table[vm.qid].update()
|
self.vms_in_table[vm.qid].update()
|
||||||
|
else:
|
||||||
|
self.update_table()
|
||||||
|
|
||||||
def fill_table(self):
|
def fill_table(self):
|
||||||
# save current selection
|
# save current selection
|
||||||
|
Loading…
Reference in New Issue
Block a user