Follow-up 56466abe99
# - Fixed a Search in the Preferences options
+ Preferences dialog: Deleted unused variable 'reverted'
This commit is contained in:
parent
27a18065b3
commit
d81009c6ce
@ -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") {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user