Search: Fix of the wrong search, when print technology was changed, but search line wasn't inputted.
Partially reverted a248490507
-> UnsavedChangesDialog:A sort of Sercher's options have to be reverted back an the and of update_tree()
May be related to #8376 - SEARCH {CTRL-F}
This commit is contained in:
parent
22255822a2
commit
bd077ae401
@ -1300,6 +1300,9 @@ void UnsavedChangesDialog::update_tree(Preset::Type type, PresetCollection* pres
|
|||||||
get_string_value(opt_key, old_config), get_string_value(opt_key, new_config), category_icon_map.at(option.category));
|
get_string_value(opt_key, old_config), get_string_value(opt_key, new_config), category_icon_map.at(option.category));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Revert sort of searcher back
|
||||||
|
searcher.sort_options_by_label();
|
||||||
}
|
}
|
||||||
|
|
||||||
void UnsavedChangesDialog::on_dpi_changed(const wxRect& suggested_rect)
|
void UnsavedChangesDialog::on_dpi_changed(const wxRect& suggested_rect)
|
||||||
@ -1709,6 +1712,9 @@ void DiffPresetDialog::update_tree()
|
|||||||
Fit();
|
Fit();
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Revert sort of searcher back
|
||||||
|
searcher.sort_options_by_label();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DiffPresetDialog::on_dpi_changed(const wxRect&)
|
void DiffPresetDialog::on_dpi_changed(const wxRect&)
|
||||||
|
Loading…
Reference in New Issue
Block a user