foo
This commit is contained in:
parent
5fa009714b
commit
33e47c2653
1 changed files with 2 additions and 1 deletions
|
@ -402,7 +402,8 @@ void Game::actRollDie()
|
|||
void Game::actCreateToken()
|
||||
{
|
||||
QString cardname = QInputDialog::getText(0, tr("Create token"), tr("Name:"));
|
||||
client->createToken("table", cardname, QString(), 0, 0);
|
||||
if (!cardname.isEmpty())
|
||||
client->createToken("table", cardname, QString(), 0, 0);
|
||||
}
|
||||
|
||||
void Game::showCardMenu(QPoint p)
|
||||
|
|
Loading…
Reference in a new issue