# HG changeset patch # User unc0rr # Date 1231951289 0 # Node ID a2035c5d6089d9f8cd46ed9fdfb6887e50066385 # Parent b709e061577ef28841363b812dbff86d4e8e319e Correctly handle disconnect when on stats page diff -r b709e061577e -r a2035c5d6089 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Wed Jan 14 16:36:16 2009 +0000 +++ b/QTfrontend/hwform.cpp Wed Jan 14 16:41:29 2009 +0000 @@ -304,8 +304,8 @@ ui.pageGameStats->renderStats(); } -// if ((lastid == ID_PAGE_GAMESTATS) && !hwnet) -// GoBack(); + if ((lastid == ID_PAGE_GAMESTATS) && (id == ID_PAGE_NETGAME) && !hwnet) + GoBack(); } void HWForm::GoToPage(quint8 id)