From 33b6e92f2e4d11ff83b32a2217e7e842241b0305 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Wed, 17 Feb 2016 11:33:44 -0500 Subject: [PATCH] More minor prefs cleanup --- src/gui/dialogs/preferences_dialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/dialogs/preferences_dialog.cpp b/src/gui/dialogs/preferences_dialog.cpp index fd674652197c..1f85a7ca3780 100644 --- a/src/gui/dialogs/preferences_dialog.cpp +++ b/src/gui/dialogs/preferences_dialog.cpp @@ -836,10 +836,10 @@ void tpreferences::on_advanced_prefs_list_select(tlistbox& list, twindow& window if(selected_type == ADVANCED_PREF_TYPE::SPECIAL) { if (selected_field == "advanced_graphic_options") { gui2::tadvanced_graphics_options::display(window.video()); - } - - if (selected_field == "orb_color") { + } else if (selected_field == "orb_color") { gui2::tselect_orb_colors::display(window.video()); + } else { + DBG_GUI_L << "Invalid or unimplemented custom advanced prefs option: " << selected_field << "\n"; } // Add more options here as needed