Pref: - add require-reboot capability to PreferencePage.

- Implement this require-reboot in wb pref page
This commit is contained in:
Paddle
2023-03-28 11:59:18 +02:00
parent 24699f39a0
commit 2107002ed2
9 changed files with 77 additions and 9 deletions

View File

@@ -1377,6 +1377,8 @@ PyObject* Application::sShowPreferences(PyObject * /*self*/, PyObject *args)
wc.restoreCursor();
cDlg.exec();
wc.setWaitCursor();
cDlg.isRebootRequired(); //The user may have applied first, then clicked the cancel button so it's not in the if(cDlg.exec())
wc.setWaitCursor();
Py_Return;
}