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 ce89183b8c
commit 712a5e0d8b
1 changed files with 2 additions and 0 deletions

View File

@ -257,4 +257,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();
} }