From 4f65a8d8234047b45ec52f7eef0e7b887c491955 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 9 May 2014 22:28:44 +0200 Subject: [PATCH] src/gui/bedit/bouqueteditor_chanselect.cpp: fix kill details line --- src/gui/bedit/bouqueteditor_chanselect.cpp | 6 ++++++ src/gui/bedit/bouqueteditor_chanselect.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/gui/bedit/bouqueteditor_chanselect.cpp b/src/gui/bedit/bouqueteditor_chanselect.cpp index c330a55cb..a44afd70f 100644 --- a/src/gui/bedit/bouqueteditor_chanselect.cpp +++ b/src/gui/bedit/bouqueteditor_chanselect.cpp @@ -319,3 +319,9 @@ void CBEChannelSelectWidget::initItem2DetailsLine (int pos, int /*ch_index*/) } } +void CBEChannelSelectWidget::hide() +{ + if (dline) + dline->kill(); //kill details line + CListBox::hide(); +} diff --git a/src/gui/bedit/bouqueteditor_chanselect.h b/src/gui/bedit/bouqueteditor_chanselect.h index 43bc6601e..f0cca9adf 100644 --- a/src/gui/bedit/bouqueteditor_chanselect.h +++ b/src/gui/bedit/bouqueteditor_chanselect.h @@ -60,6 +60,7 @@ class CBEChannelSelectWidget : public CListBox void paintFoot(); void onOkKeyPressed(); void onRedKeyPressed(); + void hide(); int footerHeight;