From 5cc9b850b5f282489ffa266903ae0ba7ff680f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Sat, 12 Apr 2014 19:17:01 +0300 Subject: [PATCH] Fixed|UI|Client: Games dialog opens a network settings dialog The Games dialog should only open a network settings dialog when showing the multiplayer sessions. --- doomsday/client/src/ui/dialogs/gamesdialog.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doomsday/client/src/ui/dialogs/gamesdialog.cpp b/doomsday/client/src/ui/dialogs/gamesdialog.cpp index 992d5ea5cd..4b1e6b1d6f 100644 --- a/doomsday/client/src/ui/dialogs/gamesdialog.cpp +++ b/doomsday/client/src/ui/dialogs/gamesdialog.cpp @@ -96,10 +96,11 @@ GamesDialog::GamesDialog(Mode mode, String const &name) { buttons() << new DialogButtonItem(Action | Id2, tr("Connect Manually..."), new SignalAction(this, SLOT(connectManually()))); - } - buttons() << new DialogButtonItem(Action | Id1, style().images().image("gear"), - new SignalAction(this, SLOT(showSettings()))); + // Multiplayer settings. + buttons() << new DialogButtonItem(Action | Id1, style().images().image("gear"), + new SignalAction(this, SLOT(showSettings()))); + } } void GamesDialog::showSettings()