Don't reset teams when returning from draw map page
authorunc0rr
Tue, 14 Dec 2010 20:01:27 +0300
changeset 4524 65c294aedaea
parent 4523 23ed16e6c7d2
child 4525 0a81be113e21
Don't reset teams when returning from draw map page
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Mon Dec 13 19:22:09 2010 -0500
+++ b/QTfrontend/hwform.cpp	Tue Dec 14 20:01:27 2010 +0300
@@ -473,7 +473,7 @@
           teamsList.push_back(team);
         }
 
-        if(lastid == ID_PAGE_SETUP) { // _TEAM
+        if(lastid == ID_PAGE_SETUP || lastid == ID_PAGE_DRAWMAP) { // _TEAM
           if (editedTeam) {
             curTeamSelWidget->addTeam(*editedTeam);
           }