From 59bcbddb83f69f7c5faaedc2432f6200e440bdb7 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 12 Mar 2018 00:53:21 +0100 Subject: [PATCH] channellist: show choosen channelnumber on vfd while numeric zapping Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/efa5621cc5061b142f2c87820c99b41b5c05da36 Author: vanhofen Date: 2018-03-12 (Mon, 12 Mar 2018) Origin message was: ------------------ - channellist: show choosen channelnumber on vfd while numeric zapping ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 061d83791..673874fb9 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1326,6 +1326,9 @@ int CChannelList::numericZap(int key) while(strlen(valstr) < maxchansize) strcat(valstr,"-"); //"_" + CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8); + CVFD::getInstance()->showMenuText(0, valstr, -1, true); + PaintBoxRel(ox, oy, sx, sy, COL_INFOBAR_PLUS_0, RADIUS_LARGE, CORNER_ALL, CC_SHADOW_ON); for (int i = maxchansize-1; i >= 0; i--) { valstr[i+ 1] = 0; @@ -1384,6 +1387,7 @@ int CChannelList::numericZap(int key) } ClearBoxRel(ox, oy, sx, sy, CC_SHADOW_ON); + CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); CZapitChannel* chan = getChannel(chn); if (doZap) {