implemented much of the general tab and behavior tab in the PreferencesDialog

This commit is contained in:
itsmattkc
2019-12-31 14:40:52 +11:00
parent 970f4b4793
commit acfbe421e2
11 changed files with 189 additions and 73 deletions
+6
View File
@@ -89,6 +89,12 @@ void PreferencesDialog::AddBoolPair(QCheckBox *ui, bool *value, bool restart_req
void PreferencesDialog::accept()
{
foreach (PreferencesTab* tab, tabs_) {
if (!tab->Validate()) {
return;
}
}
foreach (PreferencesTab* tab, tabs_) {
tab->Accept();
}