Fix weird problem where content list is no longer selectable after selecting somethin...
authorCarl Hetherington <cth@carlh.net>
Mon, 18 Aug 2014 15:30:52 +0000 (16:30 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 18 Aug 2014 15:30:52 +0000 (16:30 +0100)
src/wx/film_editor.cc

index d0534f9c06f873accb754622412840d6149c035a..b341cb0fee6775f5092e4b99d57b0588ec576393 100644 (file)
@@ -989,7 +989,7 @@ FilmEditor::set_selection (weak_ptr<Content> wc)
                if (content[i] == wc.lock ()) {
                        _content->SetItemState (i, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
                } else {
-                       _content->SetItemState (i, 0, wxLIST_STATE_SELECTED | wxLIST_STATE_FOCUSED);
+                       _content->SetItemState (i, 0, wxLIST_STATE_SELECTED);
                }
        }
 }