changeset 12663 | d7492247a368 |
parent 11817 | 5f21387edff1 |
child 12665 | 5664ec82aed7 |
--- a/QTfrontend/ui/widget/selectWeapon.cpp Fri Oct 06 20:17:12 2017 +0200 +++ b/QTfrontend/ui/widget/selectWeapon.cpp Fri Oct 06 20:28:11 2017 +0200 @@ -327,7 +327,7 @@ { //name already used -> look for an appropriate name: int i=2; - while(wconf->contains(newName = tr("Copy of %1 (%2)").arg(curWeaponsName, i++))); + while(wconf->contains(newName = tr("Copy of %1 (%2)").arg(curWeaponsName).arg(i++))); } setWeaponsName(newName); setWeapons(ammo);