Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-11-29 13:02:30 +0300
committerYuSanka <yusanka@gmail.com>2019-11-29 13:02:58 +0300
commit22aa17128a1e566b646b8318147b7fa0d3f49248 (patch)
tree23f64a53f05f36abc520507ab6a1373774099cbc /src/slic3r/GUI/Tab.cpp
parent71f5ed5b9e63252b0f60ce83c0e1f0c629d9ff16 (diff)
Fixed function to get a profile name by alias for all preset collections
Diffstat (limited to 'src/slic3r/GUI/Tab.cpp')
-rw-r--r--src/slic3r/GUI/Tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp
index 1dd22d80a..e663c0e47 100644
--- a/src/slic3r/GUI/Tab.cpp
+++ b/src/slic3r/GUI/Tab.cpp
@@ -3025,7 +3025,7 @@ void Tab::save_preset(std::string name /*= ""*/)
show_error(this, _(L("Cannot overwrite an external profile.")));
return;
}
- if (existing && name != preset.name)
+ if (existing/* && name != preset.name*/)
{
wxString msg_text = GUI::from_u8((boost::format(_utf8(L("Preset with name \"%1%\" already exist."))) % name).str());
msg_text += "\n" + _(L("Replace?"));