Try again to remove anything at audio_mxf_filename.
[dcpomatic.git] / src / tools / dcpomatic.cc
index 4e23cf09d7a034bfbc4a6d5ab9e2017ede019390..111b5769d313baa3a226eb8684e2bdbbf395f426 100644 (file)
@@ -714,7 +714,11 @@ class App : public wxApp
                switch (UpdateChecker::instance()->state ()) {
                case UpdateChecker::YES:
                {
-                       UpdateDialog* dialog = new UpdateDialog (_frame, UpdateChecker::instance()->stable (), UpdateChecker::instance()->test ());
+                       string test;
+                       if (Config::instance()->check_for_test_updates ()) {
+                               test = UpdateChecker::instance()->test ();
+                       }
+                       UpdateDialog* dialog = new UpdateDialog (_frame, UpdateChecker::instance()->stable (), test);
                        dialog->ShowModal ();
                        dialog->Destroy ();
                        break;