mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 02:52:00 +08:00
Fix for #13450 - Crash when apply infill density with TAB in sidebar (SPE-2508)
This commit is contained in:
parent
4500de008b
commit
525c04bebe
@ -228,12 +228,12 @@ void ObjectSettings::update_config_values(ModelConfig* config)
|
||||
update_config_values(config);
|
||||
|
||||
if (is_added) {
|
||||
// #ysFIXME - Delete after testing! Very likely this CallAfret is no needed
|
||||
// wxTheApp->CallAfter([this]() {
|
||||
// #ysNOTE - CallAfter is needed here to avoid crash on add new override params! see GH#13450
|
||||
wxTheApp->CallAfter([this]() {
|
||||
wxWindowUpdateLocker noUpdates(m_parent);
|
||||
update_settings_list();
|
||||
m_parent->Layout();
|
||||
// });
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user