changeset 1998 | c22af5e8b636 |
parent 1951 | 47f38d84ac72 |
child 2009 | 91f461c218ab |
--- a/QTfrontend/hwform.cpp Tue Apr 14 19:05:23 2009 +0000 +++ b/QTfrontend/hwform.cpp Fri Apr 17 12:20:19 2009 +0000 @@ -373,9 +373,7 @@ if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) GoBack(); - if (id == ID_PAGE_NET) { - if(hwnet || pnetserver) NetDisconnect(); - } + if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); if (curid == ID_PAGE_SCHEME) ammoSchemeModel->Save();