diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-19 13:55:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-19 13:55:46 +0100 |
| commit | 4408e6eea87ce9630e71e4a7d40e2dade091b0ee (patch) | |
| tree | 634dd286de7ee2b18cbdc6bcb8837b52b2f8655f /src/tools/dcpomatic.cc | |
| parent | 67c604d3fa2391b98ea436e2c6412f1c83a98f77 (diff) | |
Similar pending/done for Film::Change.
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 6972b35c4..7ae6b1c72 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -434,7 +434,7 @@ public: if (_film->directory()) { Config::instance()->add_to_history (_film->directory().get()); } - _film->Changed.connect (boost::bind (&DOMFrame::set_menu_sensitivity, this)); + _film->Change.connect (boost::bind (&DOMFrame::film_change, this, _1)); } shared_ptr<Film> film () const { @@ -443,6 +443,13 @@ public: private: + void film_change (ChangeType type) + { + if (type == CHANGE_TYPE_DONE) { + set_menu_sensitivity (); + } + } + void file_changed (boost::filesystem::path f) { string s = wx_to_std (_("DCP-o-matic")); |
