diff options
author | YuSanka <yusanka@gmail.com> | 2020-01-03 18:09:16 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2020-01-03 18:09:16 +0300 |
commit | 30f7a2b8e5b369319ada02455d5fec7633c46b8b (patch) | |
tree | 2795758587442320260a7c7b1883c629c51e8668 /src/slic3r | |
parent | 80ef0e033498307fdad73de50fd87607a10a9848 (diff) |
Fix of #3382
Diffstat (limited to 'src/slic3r')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectList.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 0505d748e..271e51bc2 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -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)) { config->set_key_value("layer_height", new ConfigOptionFloat(layer_height)); + changed_object(obj_idx); return true; } @@ -2951,6 +2952,7 @@ bool ObjectList::edit_layer_range(const t_layer_height_range& range, const t_lay ranges.erase(range); ranges[new_range] = config; + changed_object(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) |