Fix bug #2791868: "GUI: Glitch when closing menu after hovering on option"

svn-id: r40702
This commit is contained in:
Eugene Sandulenko 2009-05-18 21:02:52 +00:00
parent d66365f376
commit eb92554db9

View File

@ -100,13 +100,13 @@ void Dialog::open() {
void Dialog::close() {
_visible = false;
g_gui.closeTopDialog();
if (_mouseWidget) {
_mouseWidget->handleMouseLeft(0);
_mouseWidget = 0;
}
releaseFocus();
g_gui.closeTopDialog();
}
void Dialog::reflowLayout() {