Moved busy_cursor() inside save_changes()
这个提交包含在:
父节点
c85d6e4e8b
当前提交
34adc75752
@ -264,6 +264,7 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
||||
self.save_and_apply()
|
||||
|
||||
def save_changes(self):
|
||||
with common_threads.busy_cursor():
|
||||
error = self.__save_changes__()
|
||||
|
||||
if error:
|
||||
@ -274,11 +275,9 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
||||
self.tr("ERROR: {0}").format('\n'.join(error)))
|
||||
|
||||
def apply(self):
|
||||
with common_threads.busy_cursor():
|
||||
self.save_changes()
|
||||
|
||||
def save_and_apply(self):
|
||||
with common_threads.busy_cursor():
|
||||
self.save_changes()
|
||||
self.done(0)
|
||||
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户