diff options
author | YuSanka <yusanka@gmail.com> | 2020-03-12 16:50:20 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2020-03-12 17:11:31 +0300 |
commit | 6a6790b8e76848a1cebf6fcb4db250948b448b7a (patch) | |
tree | c768ece15539ff7bb86d7e8ce746a0570bdc4ca0 /src/slic3r/GUI/GUI_ObjectList.hpp | |
parent | c145d60df437447f16d06be9b85fa90df0e58185 (diff) |
Implemented disabling of Add buttons if next layer range couldn't be added
+ Fixed "Layer ranges" expand.
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectList.hpp')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectList.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectList.hpp b/src/slic3r/GUI/GUI_ObjectList.hpp index 0f067d116..adaa31242 100644 --- a/src/slic3r/GUI/GUI_ObjectList.hpp +++ b/src/slic3r/GUI/GUI_ObjectList.hpp @@ -327,6 +327,7 @@ public: // may have been postponed from the "kill focus" event of a text field, if the focus was lost for the "add layer" button. // Rather providing the range by a value than by a reference, so that the memory referenced cannot be invalidated. void add_layer_range_after_current(const t_layer_height_range current_range); + wxString can_add_new_range_after_current( t_layer_height_range current_range); void add_layer_item (const t_layer_height_range& range, const wxDataViewItem layers_item, const int layer_idx = -1); |