diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-19 21:49:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-19 21:49:36 +0100 |
| commit | 9d045fa4e19d6b9a3f2ffcd67a5b69de823595e6 (patch) | |
| tree | 92da2ee26f05898184a5ae85e132b04f1a241680 /src/wx/content_panel.h | |
| parent | 59c3a1052debde6afe7cd7f511a7d6e423a632a1 (diff) | |
Work around visual glitch when clicking on an already-selectedv2.13.43
piece of content; on Linux at least you get a deselected event
then a selected event for that content.
Diffstat (limited to 'src/wx/content_panel.h')
| -rw-r--r-- | src/wx/content_panel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index e177c0f1e..33a7866e4 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -81,7 +81,10 @@ public: boost::signals2::signal<void (void)> SelectionChanged; private: - void selection_changed (); + void item_selected (); + void item_deselected (); + void item_deselected_idle (); + void check_selection (); void add_folder_clicked (); void add_dcp_clicked (); void earlier_clicked (); @@ -119,4 +122,5 @@ private: boost::shared_ptr<Film> _film; FilmViewer* _film_viewer; bool _generally_sensitive; + bool _ignore_deselect; }; |
