From 06b5acf1a7fe316b726cd7448538e984ec6e245d 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/a3ee3351b55fdded9eb28bf99d182364f4c1ef6f 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 5bf5010c3..843e39481 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); }