No need to call setup_sensitivity() here as set_film() already does it.
authorCarl Hetherington <cth@carlh.net>
Thu, 22 Jun 2023 15:35:07 +0000 (17:35 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 22 Jun 2023 15:35:07 +0000 (17:35 +0200)
src/wx/controls.cc

index 7cb75ef153874a5e158a56b596e9c302cd5370d1..c6a2b2570bb464ec140c827c97c853d307f9201f 100644 (file)
@@ -159,8 +159,6 @@ Controls::Controls(wxWindow* parent, FilmViewer& viewer, bool editor_controls)
 
        set_film(viewer.film());
 
-       setup_sensitivity ();
-
        JobManager::instance()->ActiveJobsChanged.connect (
                bind (&Controls::active_jobs_changed, this, _2)
                );