Connected die roll dlg to parent
Die roll now has a logo as it is correctly connected to the parent.
This commit is contained in:
parent
9a81b15168
commit
80e53b334e
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ void Player::actRollDie()
|
|||
#else
|
||||
QInputDialog::getInt(
|
||||
#endif
|
||||
0, tr("Roll die"), tr("Number of sides:"), 20, 2, 1000, 1, &ok);
|
||||
static_cast<QWidget *>(parent()), tr("Roll die"), tr("Number of sides:"), 20, 2, 1000, 1, &ok);
|
||||
if (ok) {
|
||||
Command_RollDie cmd;
|
||||
cmd.set_sides(sides);
|
||||
|
|
Loading…
Reference in a new issue