From d038abd7a0dce09aa84101c45af5ec8e4086e64f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 14 Oct 2019 12:25:04 +0200 Subject: [PATCH] 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. --- src/wx/content_panel.cc | 7 ------- 1 file changed, 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; } -- 2.30.2