Fix dialogs not being rendered in certain cases.

This commit is contained in:
Stephen Anthony 2021-01-23 15:10:40 -03:30
parent 982e7d18a6
commit f7afebbbce
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ int DialogContainer::addDialog(Dialog* d)
myDialogStack.top()->tooltip().hide();
d->setDirty();
d->resetSurfaces();
myDialogStack.push(d);
}
return myDialogStack.size();