Merge pull request #1109 from MattMcNam/fix-double-confirm-dialog
ui: Fix unsaved changes dialog showing twicemaster
commit
932ff14cd4
|
@ -288,6 +288,7 @@ bool OBSBasicProperties::ConfirmQuit()
|
||||||
|
|
||||||
switch (button) {
|
switch (button) {
|
||||||
case QMessageBox::Save:
|
case QMessageBox::Save:
|
||||||
|
acceptClicked = true;
|
||||||
if (view->DeferUpdate())
|
if (view->DeferUpdate())
|
||||||
view->UpdateSettings();
|
view->UpdateSettings();
|
||||||
// Do nothing because the settings are already updated
|
// Do nothing because the settings are already updated
|
||||||
|
|
Loading…
Reference in New Issue