QTfrontend/hwform.cpp
changeset 718 f93a38d2c982
parent 717 490dc8bb5b87
child 724 21706280d913
--- a/QTfrontend/hwform.cpp	Sun Jan 20 12:21:13 2008 +0000
+++ b/QTfrontend/hwform.cpp	Sun Jan 20 12:43:36 2008 +0000
@@ -120,6 +120,13 @@
 	connect(ui.pageSelectWeapon->BtnDefault,	SIGNAL(clicked()),	ui.pageSelectWeapon->pWeapons, SLOT(setDefault()));
 	connect(ui.pageSelectWeapon->BtnSave,	SIGNAL(clicked()),	ui.pageSelectWeapon->pWeapons, SLOT(save()));
 
+	connect(ui.pageSelectWeapon->BtnDelete,	SIGNAL(clicked()),	
+		ui.pageSelectWeapon->pWeapons, SLOT(deleteWeaponsName())); // executed first
+	connect(ui.pageSelectWeapon->BtnDelete,	SIGNAL(clicked()),	
+		this, SLOT(UpdateWeapons())); // executed second
+	connect(ui.pageSelectWeapon->BtnDelete,	SIGNAL(clicked()),	
+		this, SLOT(GoBack())); // executed third
+
 	GoToPage(ID_PAGE_MAIN);
 }