Merge pull request #1109 from MattMcNam/fix-double-confirm-dialog

ui: Fix unsaved changes dialog showing twice
master
Jim 2018-01-06 09:42:12 -08:00 committed by GitHub
commit 932ff14cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ bool OBSBasicProperties::ConfirmQuit()
switch (button) {
case QMessageBox::Save:
acceptClicked = true;
if (view->DeferUpdate())
view->UpdateSettings();
// Do nothing because the settings are already updated