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:
parent
a7644374ad
commit
46fe3725d1
@ -295,7 +295,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
|
|||||||
QtGui.QHeaderView.Interactive)
|
QtGui.QHeaderView.Interactive)
|
||||||
self.table.horizontalHeader().setStretchLastSection(True)
|
self.table.horizontalHeader().setStretchLastSection(True)
|
||||||
|
|
||||||
|
|
||||||
self.table.sortItems(self.columns_indices[self.sort_by_column],
|
self.table.sortItems(self.columns_indices[self.sort_by_column],
|
||||||
self.sort_order)
|
self.sort_order)
|
||||||
|
|
||||||
@ -854,6 +853,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
|
|||||||
settings_window = settings.VMSettingsWindow(
|
settings_window = settings.VMSettingsWindow(
|
||||||
vm, self.qt_app, "basic")
|
vm, self.qt_app, "basic")
|
||||||
settings_window.exec_()
|
settings_window.exec_()
|
||||||
|
self.update_table()
|
||||||
|
|
||||||
# noinspection PyArgumentList
|
# noinspection PyArgumentList
|
||||||
@QtCore.pyqtSlot(name='on_action_appmenus_triggered')
|
@QtCore.pyqtSlot(name='on_action_appmenus_triggered')
|
||||||
|
Loading…
Reference in New Issue
Block a user