From a56acfa183e96fcd9ebcbb2f365c02195fb0d145 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 9 Apr 2012 13:03:00 +0000 Subject: [PATCH] it is also possible to report the game name of the game you've joined now --- src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp index b57e8866..015ffd71 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp @@ -2041,7 +2041,7 @@ void gameLobbyDialogImpl::reportBadGameName() { assert(mySession); QItemSelectionModel *selection = treeView_GameList->selectionModel(); - if (!inGame && selection->hasSelection()) { + if (selection->hasSelection()) { unsigned gameId = selection->selectedRows().first().data(Qt::UserRole).toUInt(); GameInfo info(mySession->getClientGameInfo(gameId));