QTfrontend/selectWeapon.cpp
changeset 4598 7cb8c9db6e8d
parent 4416 29d2d1548387
child 4976 088d40d8aba2
--- a/QTfrontend/selectWeapon.cpp	Tue Dec 21 15:12:06 2010 -0500
+++ b/QTfrontend/selectWeapon.cpp	Tue Dec 21 21:56:34 2010 +0100
@@ -269,3 +269,10 @@
 {
     return wconf->allKeys();
 }
+
+void SelWeaponWidget::copy()
+{
+    QString ammo = getWeaponsString(curWeaponsName);
+    setWeaponsName(tr("copy of") + " " + curWeaponsName);
+    setWeapons(ammo);
+}