mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-01 04:12:03 +08:00
Added call to schedule_background_process() when deleting modifier attribute
This commit is contained in:
parent
6a9c0d4543
commit
7d488e3424
@ -85,7 +85,8 @@ void ObjectSettings::update_settings_list()
|
|||||||
#endif // __WXMSW__
|
#endif // __WXMSW__
|
||||||
btn->Bind(wxEVT_BUTTON, [opt_key, config, this](wxEvent &event) {
|
btn->Bind(wxEVT_BUTTON, [opt_key, config, this](wxEvent &event) {
|
||||||
config->erase(opt_key);
|
config->erase(opt_key);
|
||||||
wxTheApp->CallAfter([this]() {
|
wxGetApp().obj_list()->part_settings_changed();
|
||||||
|
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