QTfrontend/gamecfgwidget.cpp
changeset 703 424297e3165a
parent 697 44f167938201
child 1066 1f1b3686a2b0
--- a/QTfrontend/gamecfgwidget.cpp	Sat Jan 12 17:17:09 2008 +0000
+++ b/QTfrontend/gamecfgwidget.cpp	Sat Jan 12 22:41:03 2008 +0000
@@ -193,7 +193,12 @@
 	emit themeChanged(theme);
 }
 
-void GameCFGWidget::setNetAmmo(const QString& ammo)
+void GameCFGWidget::setNetAmmo(const QString& name, const QString& ammo)
 {
+  curNetAmmoName=name;
   curNetAmmo=ammo;
+
+  WeaponsName->setEditable(false);
+  WeaponsName->clear();
+  WeaponsName->addItem(name);
 }