mirror of https://github.com/stella-emu/stella.git
Fix dialogs not being rendered in certain cases.
This commit is contained in:
parent
f8e4ccf979
commit
e91c12eee1
|
@ -163,6 +163,7 @@ int DialogContainer::addDialog(Dialog* d)
|
||||||
myDialogStack.top()->tooltip().hide();
|
myDialogStack.top()->tooltip().hide();
|
||||||
|
|
||||||
d->setDirty();
|
d->setDirty();
|
||||||
|
d->resetSurfaces();
|
||||||
myDialogStack.push(d);
|
myDialogStack.push(d);
|
||||||
}
|
}
|
||||||
return myDialogStack.size();
|
return myDialogStack.size();
|
||||||
|
|
Loading…
Reference in New Issue