mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
Merge pull request #902 from poixen/default_one_player
Default to one player
This commit is contained in:
commit
a84418bb91
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ void MainWindow::actDisconnect()
|
||||||
void MainWindow::actSinglePlayer()
|
void MainWindow::actSinglePlayer()
|
||||||
{
|
{
|
||||||
bool ok;
|
bool ok;
|
||||||
int numberPlayers = QInputDialog::getInt(this, tr("Number of players"), tr("Please enter the number of players."), 2, 1, 8, 1, &ok);
|
int numberPlayers = QInputDialog::getInt(this, tr("Number of players"), tr("Please enter the number of players."), 1, 1, 8, 1, &ok);
|
||||||
if (!ok)
|
if (!ok)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue