diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-02 00:08:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-02 00:08:36 +0100 |
| commit | a8025ae69b2fc6c6f191eefc119582fbdae0b50a (patch) | |
| tree | 41262c83ebbcb8e22c2a00ff88e6a1ff6d14d9a5 /src/wx/content_menu.cc | |
| parent | a1033e637454ee2782473a13a867161970b49944 (diff) | |
Use non-modal ContentPropertiesDialog.
This stops the really annoying behaviour where you drag it and the main
DoM frame shrinks (maybe only on Linux).
Diffstat (limited to 'src/wx/content_menu.cc')
| -rw-r--r-- | src/wx/content_menu.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 32c5edb01..33aab8980 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -476,8 +476,13 @@ ContentMenu::properties () { auto film = _film.lock (); DCPOMATIC_ASSERT (film); - ContentPropertiesDialog dialog(_parent, film, _content.front()); - dialog.ShowModal(); + if (_content_properties_dialog) { + _content_properties_dialog->Destroy(); + _content_properties_dialog = nullptr; + } + + _content_properties_dialog = new ContentPropertiesDialog(_parent, film, _content.front()); + _content_properties_dialog->Show(); } |
