diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-16 20:46:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-16 20:46:43 +0100 |
| commit | 7e988f8c9c2a24f95820e2899dfe2d2f2bdf6a44 (patch) | |
| tree | 950bca3b5d9f6992948ab623eee4618dccba6fea /src | |
| parent | e23003d45777ad4326f46f13967a86bb498b4269 (diff) | |
Fix crash with --workaround-mutter.
This needs the signal manager to exist.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index e0c69f5a4..01543b190 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -1703,6 +1703,8 @@ private: */ Config::Bad.connect (boost::bind(&App::config_bad, this, _1)); + signal_manager = new wxSignalManager (this); + _frame = new DOMFrame(variant::wx::dcpomatic()); SetTopWindow (_frame); _frame->Maximize (); @@ -1724,7 +1726,6 @@ private: _frame->Show (); - signal_manager = new wxSignalManager (this); Bind (wxEVT_IDLE, boost::bind (&App::idle, this, _1)); if (!_film_to_load.empty() && dcp::filesystem::is_directory(_film_to_load)) { |
