Don't show GUI2 help by default (hide it behind --new-widgets switch)

Looks like it might be awhile before we get more progress on this, so I'm hiding it by default for now.
This commit is contained in:
Charles Dang 2017-03-24 11:43:34 +11:00
parent 1cf90d02d6
commit c204d3e1e2

View file

@ -298,9 +298,9 @@ void title_screen::pre_show(window& win)
// Help
//
register_button(win, "help", hotkey::HOTKEY_HELP, [](window& w) {
//if(gui2::new_widgets) {
if(gui2::new_widgets) {
gui2::dialogs::help_browser::display(w.video());
//}
}
help::help_manager help_manager(&game_config_manager::get()->game_config());
help::show_help(w.video());