Hotkey editor: dynamically resize columns

This was done in OnSize(), but was not triggered when a hotkey was edited.
This commit is contained in:
Chris Pavlina 2016-01-25 11:17:52 -05:00
parent 76fb8ce8f9
commit 39ad4ef7fc
1 changed files with 4 additions and 0 deletions

View File

@ -322,6 +322,10 @@ void WIDGET_HOTKEY_LIST::EditItem( wxTreeListItem aItem )
}
UpdateFromClientData();
// Trigger a resize in case column widths have changed
wxSizeEvent dummy_evt;
OnSize( dummy_evt );
}
}