From 8e8ff02d6dabe1fa94f2d3d9090e3d535c7e8867 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 ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/76008371ffad9c3fd6d71a732726c96edc02d431 Author: Thilo Graf Date: 2017-01-27 (Fri, 27 Jan 2017) ------------------ This commit was generated by Migit --- 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); }