Fix failure to close verify progress window when finished.
authorCarl Hetherington <cth@carlh.net>
Mon, 12 Jun 2023 21:56:48 +0000 (23:56 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 12 Jun 2023 21:56:48 +0000 (23:56 +0200)
src/tools/dcpomatic_player.cc

index 56ab26be418ef5d8ef9c0790b1f157642b721973..1fcad5327be0beb87c960621966a12d811f6c4e0 100644 (file)
@@ -909,6 +909,8 @@ private:
                auto job = make_shared<VerifyDCPJob>(dcp->directories());
                VerifyDCPProgressDialog progress(this, _("DCP-o-matic Player"));
                bool const completed = progress.run(job);
+               progress.Close();
+
                if (!completed) {
                        return;
                }