|
|
@@ -2296,8 +2296,13 @@ void OBSBasicSettings::on_buttonBox_clicked(QAbstractButton *button)
|
|
|
|
|
|
if (val == QDialogButtonBox::AcceptRole ||
|
|
|
val == QDialogButtonBox::RejectRole) {
|
|
|
- if (val == QDialogButtonBox::RejectRole)
|
|
|
+ if (val == QDialogButtonBox::RejectRole) {
|
|
|
App()->SetTheme(savedTheme);
|
|
|
+#ifdef _WIN32
|
|
|
+ if (toggleAero)
|
|
|
+ SetAeroEnabled(!aeroWasDisabled);
|
|
|
+#endif
|
|
|
+ }
|
|
|
ClearChanged();
|
|
|
close();
|
|
|
}
|