Refresh Qube Manager list after closing VM settings

Now the Qube Manager refreshes VM list after VM settings are launched
and closed.
This commit is contained in:
Marta Marczykowska-Górecka 2018-01-23 20:44:59 +01:00
parent a7644374ad
commit 46fe3725d1
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -295,7 +295,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
QtGui.QHeaderView.Interactive)
self.table.horizontalHeader().setStretchLastSection(True)
self.table.sortItems(self.columns_indices[self.sort_by_column],
self.sort_order)
@ -854,6 +853,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
settings_window = settings.VMSettingsWindow(
vm, self.qt_app, "basic")
settings_window.exec_()
self.update_table()
# noinspection PyArgumentList
@QtCore.pyqtSlot(name='on_action_appmenus_triggered')