Changes according to @marmarek's request

This commit is contained in:
Marta Marczykowska-Górecka 2018-02-10 23:41:36 +01:00
父節點 5af2709029
當前提交 45959aef71
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 9A752C30B26FD04B

查看文件

@ -395,8 +395,13 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
return [vm for vm in self.qubes_app.domains]
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:
self.vms_in_table[vm.qid].update()
else:
self.update_table()
def fill_table(self):
# save current selection