mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-04 14:10:41 +08:00
DiffPresetDialog: Show "Undef category/group" just in Debug mode
This commit is contained in:
parent
0d29ac7d68
commit
fa7d20a44d
@ -1854,8 +1854,10 @@ void DiffPresetDialog::update_tree()
|
||||
|
||||
Search::Option option = searcher.get_option(opt_key, get_full_label(opt_key, left_config), type);
|
||||
if (option.opt_key() != opt_key) {
|
||||
#ifdef _DEBUG
|
||||
// temporary solution, just for testing
|
||||
m_tree->Append(opt_key, type, _L("Undef category"), _L("Undef group"), opt_key, left_val, right_val, "", "question");
|
||||
#endif
|
||||
// When founded option isn't the correct one.
|
||||
// It can be for dirty_options: "default_print_profile", "printer_model", "printer_settings_id",
|
||||
// because of they don't exist in searcher
|
||||
|
Loading…
x
Reference in New Issue
Block a user