Hotkey editor: dynamically resize columns
This was done in OnSize(), but was not triggered when a hotkey was edited.
This commit is contained in:
parent
76fb8ce8f9
commit
39ad4ef7fc
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue