From 54e4fa620b13dd2468fb76d77cbe838561837c10 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 15 Jan 2018 19:54:50 +0100 Subject: [PATCH] infoviewer: fix copy/paste error clearing wrong field Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/04665bf905f0d2986901ccec85e7ea4d4f8b7aec Author: Stefan Seyfried Date: 2018-01-15 (Mon, 15 Jan 2018) --- src/gui/infoviewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index ebd9151bd..e3d10140f 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -1862,8 +1862,8 @@ void CInfoViewer::display_Info(const char *current, const char *next, txt_curr_start->setDimensionsAll(InfoX, CurrInfoY - height, info_time_width, height); txt_curr_start->setItemName("txt_curr_start"); txt_curr_start->setText(runningStart, CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO], colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_INFOBAR_TEXT); - if (txt_curr_event->isPainted()) - txt_curr_event->hide(); + if (txt_curr_start->isPainted()) + txt_curr_start->hide(); txt_curr_start->paint(CC_SAVE_SCREEN_YES); }