From 686bc2ce6a25e4c53818061113a9cf0197f93171 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 27 Jan 2017 20:30:05 +0100 Subject: [PATCH] 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. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/76008371ffad9c3fd6d71a732726c96edc02d431 Author: Thilo Graf Date: 2017-01-27 (Fri, 27 Jan 2017) --- src/gui/widget/menue.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 8e148aea7..cb83c00f5 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1075,6 +1075,8 @@ void CMenuWidget::hide() header->kill(); if (info_box) info_box->kill(); + if (details_line) + details_line->hide(); frameBuffer->paintBackgroundBoxRel(x, y, full_width, full_height + fbutton_height); //paintHint(-1); }