mirror of https://github.com/stella-emu/stella.git
Fix crash in certain cases (most obvious when selecting cart tabs in debugger).
This commit is contained in:
parent
ae439ba318
commit
c86aa6957b
|
@ -426,6 +426,7 @@ void Dialog::drawDialog()
|
|||
{
|
||||
_focusedWidget = Widget::setFocusForChain(this, getFocusList(),
|
||||
_focusedWidget, 0, false);
|
||||
if(_focusedWidget)
|
||||
_focusedWidget->draw(); // make sure the highlight color is drawn initially
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue