if the dialog closes, don't add it

This commit is contained in:
Nikolaus Gullotta 2019-06-11 10:56:18 -05:00 committed by Nikolaus Gullotta
parent a1965214d1
commit c0403348d9
No known key found for this signature in database
GPG key ID: 565F60578092AA31

View file

@ -474,7 +474,7 @@ void MixerSnapshotDialog::new_snapshot_from_session(bool global)
int response = session_selector.run();
session_selector.hide();
if (response == RESPONSE_CANCEL) {
if (response != RESPONSE_ACCEPT) {
return;
}