mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Don't show a confirmation dialog when saving a preset
This commit is contained in:
parent
26eaa8af1e
commit
5320af6c13
1 changed files with 1 additions and 1 deletions
|
@ -3026,7 +3026,7 @@ void Tab::save_preset(std::string name /*= ""*/)
|
||||||
show_error(this, _(L("Cannot overwrite an external profile.")));
|
show_error(this, _(L("Cannot overwrite an external profile.")));
|
||||||
return;
|
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());
|
wxString msg_text = GUI::from_u8((boost::format(_utf8(L("Preset with name \"%1%\" already exist."))) % name).str());
|
||||||
msg_text += "\n" + _(L("Replace?"));
|
msg_text += "\n" + _(L("Replace?"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue