Properly delegate Core dialog to hotkey-only

This commit is contained in:
Charles Dang 2019-11-04 04:19:09 +11:00
parent 26b0ce0010
commit 1fae8c238d

View file

@ -371,13 +371,9 @@ void title_screen::pre_show(window& win)
//
// Cores
//
register_button(win, "cores", hotkey::TITLE_SCREEN__CORES,
win.register_hotkey(hotkey::TITLE_SCREEN__CORES,
std::bind(&title_screen::button_callback_cores, this));
//if(game_config_manager::get()->game_config().child_range("core").size() <= 1) {
find_widget<button>(&win, "cores", false).set_visible(widget::visibility::invisible);
//}
//
// Language
//