Skip unprocessed keydown events in the styling assistant so that typing style names actually works

This commit is contained in:
Thomas Goyne 2012-10-16 07:58:10 -07:00
parent 58981c5068
commit 181208a531

View file

@ -259,4 +259,6 @@ void DialogStyling::OnKeyDown(wxKeyEvent &evt) {
if (from > 0) if (from > 0)
style_name->SetSelection(from - 1, to); style_name->SetSelection(from - 1, to);
} }
else
evt.Skip();
} }