Added "Edit Preset" buttons on the sidebar.

+ fixed Filament presets updating for the multi-material Printer (inside update_compatible(...) function)
This commit is contained in:
YuSanka 2019-03-18 15:10:40 +01:00
parent fe91edc521
commit ba54ce0309
3 changed files with 59 additions and 17 deletions

View file

@ -46,6 +46,8 @@ public:
PresetComboBox(wxWindow *parent, Preset::Type preset_type);
~PresetComboBox();
wxButton* edit_btn { nullptr };
void set_label_marker(int item);
void set_extruder_idx(const int extr_idx) { extruder_idx = extr_idx; }
int get_extruder_idx() const { return extruder_idx; }