]> sigrok.org Git - pulseview.git/commitdiff
Fix Bug #1649 (Save dialog does not close automatically)
authorRalf <redacted>
Sun, 10 Jan 2021 09:09:26 +0000 (10:09 +0100)
committerSoeren Apel <redacted>
Tue, 22 Jun 2021 18:23:29 +0000 (20:23 +0200)
pv/dialogs/storeprogress.cpp

index 295e98fa58053f025d388456e8520bc39ac028e4..0bcfbf2c75ca772510068b0309a4053e74fef5a3 100644 (file)
@@ -113,7 +113,9 @@ void StoreProgress::on_progress_updated()
                setMaximum(p.second);
        } else {
                const QString err = session_.error();
-               if (!err.isEmpty() && !showing_error_)
+               if (err.isEmpty())
+                       close();
+               else if (!showing_error_)
                        show_error();
        }
 }