Browse Source

Hotkey editor: dynamically resize columns

This was done in OnSize(), but was not triggered when a hotkey was edited.
pull/10/head
Chris Pavlina 10 years ago
parent
commit
39ad4ef7fc
  1. 4
      common/widgets/widget_hotkey_list.cpp

4
common/widgets/widget_hotkey_list.cpp

@ -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…
Cancel
Save