Playlist editor: update content list when configuration changes.
authorCarl Hetherington <cth@carlh.net>
Mon, 19 Oct 2020 21:21:13 +0000 (23:21 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 19 Oct 2020 21:21:13 +0000 (23:21 +0200)
src/tools/dcpomatic_playlist.cc

index baeeb96bee1a76f4f4787634d314696f34e4d27b..6a0281505b793a91799ea5bd9f5c5d35ead9d446 100644 (file)
@@ -73,6 +73,8 @@ public:
                }
 
                overall_sizer->Layout ();
+
+               _config_changed_connection = Config::instance()->Changed.connect(boost::bind(&ContentView::update, _content_view));
        }
 
        shared_ptr<Content> selected () const
@@ -87,6 +89,7 @@ public:
 
 private:
        ContentView* _content_view;
+       boost::signals2::scoped_connection _config_changed_connection;
 };