Fix of #3382
This commit is contained in:
parent
80ef0e0334
commit
30f7a2b8e5
1 changed files with 2 additions and 0 deletions
|
@ -2930,6 +2930,7 @@ bool ObjectList::edit_layer_range(const t_layer_height_range& range, coordf_t la
|
||||||
layer_height <= get_max_layer_height(extruder_idx))
|
layer_height <= get_max_layer_height(extruder_idx))
|
||||||
{
|
{
|
||||||
config->set_key_value("layer_height", new ConfigOptionFloat(layer_height));
|
config->set_key_value("layer_height", new ConfigOptionFloat(layer_height));
|
||||||
|
changed_object(obj_idx);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2951,6 +2952,7 @@ bool ObjectList::edit_layer_range(const t_layer_height_range& range, const t_lay
|
||||||
|
|
||||||
ranges.erase(range);
|
ranges.erase(range);
|
||||||
ranges[new_range] = config;
|
ranges[new_range] = config;
|
||||||
|
changed_object(obj_idx);
|
||||||
|
|
||||||
wxDataViewItem root_item = m_objects_model->GetLayerRootItem(m_objects_model->GetItemById(obj_idx));
|
wxDataViewItem root_item = m_objects_model->GetLayerRootItem(m_objects_model->GetItemById(obj_idx));
|
||||||
// To avoid update selection after deleting of a selected item (under GTK)
|
// To avoid update selection after deleting of a selected item (under GTK)
|
||||||
|
|
Loading…
Reference in a new issue