Preferences Dialog: removed an invalidate_layout call

Doesn't appear to be needed anymore. Possibly existed when the hotkey filter used the grid listbox, but
said filter uses a dropdown now.
This commit is contained in:
Charles Dang 2017-04-16 07:50:34 +11:00
parent 13d2f010e9
commit 88430d3b88

View file

@ -860,9 +860,6 @@ void preferences_dialog::default_hotkey_callback(window& window)
hotkey_list.set_active_sorting_option({0, listbox::SORT_ASCENDING}, true);
find_widget<menu_button>(&window, "hotkey_category_menu", false).reset_toggle_states();
// TODO: why is this necessary again?
window.invalidate_layout();
}
void preferences_dialog::remove_hotkey_callback(listbox& hotkeys)