X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_panel.cc;h=7d854224d232a0b939758cd4094e3951d0604a65;hb=92741805fa22ef549fd2001f984edc316d8b8619;hp=f19887e59d1c9498187180840366efd75ae07774;hpb=cd4e040a1828b83809b555a99b529fcb0f395656;p=dcpomatic.git diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index f19887e59..7d854224d 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -300,19 +300,10 @@ 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; } - _last_selected = selected (); - setup_sensitivity (); BOOST_FOREACH (ContentSubPanel* i, panels()) {