diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-10-14 12:25:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-14 12:25:04 +0200 |
| commit | d038abd7a0dce09aa84101c45af5ec8e4086e64f (patch) | |
| tree | 99769e0a49f9e6d10b8d17b53136308399360a87 /src | |
| parent | 96f7dd41a2c8627bc1ea0d24d84142eb04b4ffef (diff) | |
Remove an optimisation to not run the body of ContentPanel::check_selection
if it is called with an unchanged selection. It breaks updates
of the available tabs when a OV is added to a VF DCP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_panel.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index f19887e59..e532e4824 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -300,13 +300,6 @@ ContentPanel::item_selected () void ContentPanel::check_selection () { - if (_last_selected == selected()) { - /* This was triggered by a re-build of the view but the selection - did not really change. - */ - return; - } - if (_no_check_selection) { return; } |
