From 2816b5a9fb49798d260a91835d6929c7a09013d0 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 6 Mar 2020 17:41:00 +0100 Subject: WIP Detaching of system profiles and user profiles derived from system profiles. --- src/slic3r/GUI/Preset.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slic3r/GUI/Preset.hpp') diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp index 46008eadb..1116070b2 100644 --- a/src/slic3r/GUI/Preset.hpp +++ b/src/slic3r/GUI/Preset.hpp @@ -312,7 +312,7 @@ public: // Save the preset under a new name. If the name is different from the old one, // a new preset is stored into the list of presets. // All presets are marked as not modified and the new preset is activated. - void save_current_preset(const std::string &new_name); + void save_current_preset(const std::string &new_name, bool detach = false); // Delete the current preset, activate the first visible preset. // returns true if the preset was deleted successfully. -- cgit v1.2.3