diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-07 21:37:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-07 21:37:35 +0200 |
| commit | 563fc75855b9649cf135cf137cc1b0c43ebc8286 (patch) | |
| tree | fc9862a10f052725b6bd1a1af0101b167c19891b /src/wx/film_editor.cc | |
| parent | ec65767c7b1b8439b2b1414998db9c1f4048c1de (diff) | |
Fix layout bug where the stuff in the content panel would be completely
hidden in some cases (seen on Linux only, I think).
wxDisplay::GetFromWindow sometimes returns -1 (perhaps when multiple
monitors are connected) and we have to set the splitter position
in this case.
Diffstat (limited to 'src/wx/film_editor.cc')
| -rw-r--r-- | src/wx/film_editor.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index ae0868f27..894d1d4bf 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -156,3 +156,11 @@ FilmEditor::active_jobs_changed (optional<string> j) { set_general_sensitivity (!j); } + + +void +FilmEditor::first_shown () +{ + _content_panel->first_shown (); +} + |
