QTfrontend/ui/widget/selectWeapon.cpp
changeset 15542 3b0b6ce76303
parent 14839 e239378a9400
child 15594 fdca2af677a9
--- a/QTfrontend/ui/widget/selectWeapon.cpp	Sat Jan 11 01:06:41 2020 +0300
+++ b/QTfrontend/ui/widget/selectWeapon.cpp	Sat Jan 11 05:15:01 2020 +0100
@@ -331,6 +331,7 @@
         file.close();
     }
     emit weaponsEdited(curWeaponsName, m_name->text(), stateFull);
+    curWeaponsName = m_name->text();
 }
 
 int SelWeaponWidget::operator [] (unsigned int weaponIndex) const