diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-10-07 18:23:37 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-10-07 18:23:37 +0300 |
commit | fd6d32135bd4673d8f5b27d9f56c066701239d12 (patch) | |
tree | 9984ae2b69fed346f661f1e7db01f54e9263811e /src/slic3r/GUI/Preset.hpp | |
parent | 570c038eb78698aeb199aac0d5d85d9508039ff5 (diff) | |
parent | 555fcc151d50a8ff9539e96c9f5c18afeae7e0ab (diff) |
Merge branch 'master' into materials
Diffstat (limited to 'src/slic3r/GUI/Preset.hpp')
-rw-r--r-- | src/slic3r/GUI/Preset.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp index 8be1388f0..6ed818719 100644 --- a/src/slic3r/GUI/Preset.hpp +++ b/src/slic3r/GUI/Preset.hpp @@ -289,6 +289,9 @@ public: // Delete the current preset, activate the first visible preset. // returns true if the preset was deleted successfully. bool delete_current_preset(); + // Delete the current preset, activate the first visible preset. + // returns true if the preset was deleted successfully. + bool delete_preset(const std::string& name); // Load default bitmap to be placed at the wxBitmapComboBox of a MainFrame. void load_bitmap_default(wxWindow *window, const std::string &file_name); |