CMenuWidget: add missing hide() for details line

Details_line was not removed in all constellations when menu was closed.
Sample: open main menue and select an entry with connect-line, eg. plugins,
press key to come into submenu, then go back to main menue and close
menu with home key, result: it's possible that line is still on screen.
This commit is contained in:
2017-01-27 20:30:05 +01:00
committed by M. Liebmann
parent 53f956c0f9
commit 76008371ff

View File

@@ -1075,6 +1075,8 @@ void CMenuWidget::hide()
header->kill(); header->kill();
if (info_box) if (info_box)
info_box->kill(); info_box->kill();
if (details_line)
details_line->hide();
frameBuffer->paintBackgroundBoxRel(x, y, full_width, full_height + fbutton_height); frameBuffer->paintBackgroundBoxRel(x, y, full_width, full_height + fbutton_height);
//paintHint(-1); //paintHint(-1);
} }