Fix for #7905 - Segfault when changing printer after loading 3mf with a different printer set

Update searcher only before open one of next dialogs : SearchDialog, UnsavedChangesDialog or DiffPresetDialog.
But only Search dialog respects to the mode of PrusaSlicer
This commit is contained in:
YuSanka 2022-04-07 14:22:28 +02:00 committed by Lukas Matena
parent 169ef8bfe4
commit a248490507
8 changed files with 31 additions and 58 deletions

View file

@ -111,7 +111,7 @@ public:
void update_mode();
bool is_collapsed();
void collapse(bool collapse);
void update_searcher();
void check_and_update_searcher(bool respect_mode = false);
void update_ui_from_settings();
#ifdef _MSW_DARK_MODE