Commit 0191ee9a authored by Yury Khalyavin's avatar Yury Khalyavin Committed by Wayne Stambaugh

Set focus in library edit item dialog so escape key closes dialog in wxGTK.

parent 17aa17fb
......@@ -6,6 +6,9 @@ DIALOG_LIB_EDIT_DRAW_ITEM::DIALOG_LIB_EDIT_DRAW_ITEM( wxWindow* parent,
DIALOG_LIB_EDIT_DRAW_ITEM_BASE( parent )
{
SetTitle( itemName + wxT( " " ) + GetTitle() );
// Required under wxGTK if we want to demiss the dialog with the ESC key
SetFocus();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment