diff --git a/src/duckstation-qt/qtprogresscallback.cpp b/src/duckstation-qt/qtprogresscallback.cpp index 716070f03..1a4eb3b37 100644 --- a/src/duckstation-qt/qtprogresscallback.cpp +++ b/src/duckstation-qt/qtprogresscallback.cpp @@ -499,7 +499,7 @@ void QtAsyncTaskWithProgressDialog::SetAutoClose(bool enabled) void QtAsyncTaskWithProgressDialog::EnsureShown() { - if (!m_shown) + if (m_shown) return; m_shown = true;