ENH: do not add L prefix to empty string

Change-Id: I0fc7f57baf256452645be497020d75ffaf9c20f4
This commit is contained in:
Arthur 2022-12-01 10:35:06 +08:00 committed by Lane.Wei
parent 45de1d8368
commit 4419703f41
17 changed files with 38 additions and 38 deletions

View file

@ -2320,7 +2320,7 @@ bool ObjectList::del_subobject_from_object(const int obj_idx, const int idx, con
else if (type == itInstance) {
if (object->instances.size() == 1) {
// BBS: remove snapshot name "Last instance of an object cannot be deleted."
Slic3r::GUI::show_error(nullptr, _L(""));
Slic3r::GUI::show_error(nullptr, "");
return false;
}