Bedit: adapt to current CComponentsInfoBox changes

This commit is contained in:
2012-08-03 23:04:27 +02:00
parent 360feb8db9
commit daa3ce2276
2 changed files with 5 additions and 5 deletions

View File

@@ -229,9 +229,9 @@ void CBEChannelWidget::paintItem2DetailsLine (int pos, int /*ch_index*/)
void CBEChannelWidget::clearItem2DetailsLine() void CBEChannelWidget::clearItem2DetailsLine()
{ {
if (dline != NULL) if (dline != NULL)
dline->hide(); dline->paintBackground(); //kill details line
if (ibox != NULL) if (ibox != NULL)
ibox->hide(); ibox->paintBackground(); //kill info box
} }
void CBEChannelWidget::hide() void CBEChannelWidget::hide()

View File

@@ -80,11 +80,11 @@ CBEChannelSelectWidget::~CBEChannelSelectWidget()
{ {
// clear details line // clear details line
if (dline != NULL) if (dline != NULL)
dline->hide(); dline->paintBackground();
delete dline; delete dline;
// clear infobox // clear infobox
if (ibox != NULL) if (ibox != NULL)
ibox->hide(); ibox->paintBackground();
delete ibox; delete ibox;
} }
@@ -237,7 +237,7 @@ void CBEChannelSelectWidget::paintItem2DetailsLine (int pos, int /*ch_index*/)
// clear details line // clear details line
if (dline != NULL) if (dline != NULL)
dline->hide(); dline->paintBackground();
// clear infobox // clear infobox
if (ibox != NULL) if (ibox != NULL)