0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

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

ui: Fix unsaved changes dialog showing twice
This commit is contained in:
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

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