diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index d301f0d9a..27cd113fb 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -697,7 +697,6 @@ void PreferencesDialog::revert(wxEvent&) for (auto value : m_values) { - bool reverted = false; const std::string& key = value.first; if (key == "default_action_on_dirty_project") { diff --git a/src/slic3r/GUI/Search.cpp b/src/slic3r/GUI/Search.cpp index d8c4622ec..6b5edc30e 100644 --- a/src/slic3r/GUI/Search.cpp +++ b/src/slic3r/GUI/Search.cpp @@ -311,6 +311,9 @@ void OptionsSearcher::check_and_update(PrinterTechnology pt_in, ConfigOptionMode for (auto i : input_values) append_options(i.config, i.type); + + options.insert(options.end(), preferences_options.begin(), preferences_options.end()); + sort_options(); search(search_line, true);