Navigation Menu

Skip to content

Commit

Permalink
Fixed|UI|Client: Games dialog opens a network settings dialog
Browse files Browse the repository at this point in the history
The Games dialog should only open a network settings dialog when
showing the multiplayer sessions.
  • Loading branch information
skyjake committed Apr 12, 2014
1 parent fe35536 commit 5cc9b85
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doomsday/client/src/ui/dialogs/gamesdialog.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 5cc9b85

Please sign in to comment.