fixup! Initial cucumber test.
authorCarl Hetherington <cth@carlh.net>
Fri, 24 Nov 2023 21:33:05 +0000 (22:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 24 Nov 2023 21:33:05 +0000 (22:33 +0100)
src/wx/content_panel.cc

index 5ba21dad05f0047327b91d6a9f7c8fa640d920d4..88d9e7f9b749810f734693e23a3a0b723cd728ae 100644 (file)
@@ -917,10 +917,6 @@ ContentPanel::setup ()
                item.SetData (i.get ());
                _content->InsertItem (item);
 
-               if (i.get() == selected_content) {
-                       _content->SetItemState (t, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
-               }
-
                if (alert) {
                        _content->SetItemTextColour (t, *wxRED);
                }