mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 00:11:57 +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);
|
update_config_values(config);
|
||||||
|
|
||||||
if (is_added) {
|
if (is_added) {
|
||||||
// #ysFIXME - Delete after testing! Very likely this CallAfret is no needed
|
// #ysNOTE - CallAfter is needed here to avoid crash on add new override params! see GH#13450
|
||||||
// wxTheApp->CallAfter([this]() {
|
wxTheApp->CallAfter([this]() {
|
||||||
wxWindowUpdateLocker noUpdates(m_parent);
|
wxWindowUpdateLocker noUpdates(m_parent);
|
||||||
update_settings_list();
|
update_settings_list();
|
||||||
m_parent->Layout();
|
m_parent->Layout();
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user