From 59f3e1aea862c71bd8b91faf06011b4277dfac64 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 7 Dec 2016 11:38:52 +0100 Subject: [PATCH] Cosmetics --- companion/src/modelslist.cpp | 1 + radio/src/gui/128x64/menus.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/companion/src/modelslist.cpp b/companion/src/modelslist.cpp index 3a7b1da6e..777906c5c 100644 --- a/companion/src/modelslist.cpp +++ b/companion/src/modelslist.cpp @@ -296,6 +296,7 @@ void ModelsListWidget::refreshList() addItem(item); } + if (radioData->generalSettings.currModel < (unsigned int)eepromInterface->getMaxModels()) { QFont f = QFont("Courier New", 12); f.setBold(true); diff --git a/radio/src/gui/128x64/menus.cpp b/radio/src/gui/128x64/menus.cpp index 33d5e3773..311b2897b 100644 --- a/radio/src/gui/128x64/menus.cpp +++ b/radio/src/gui/128x64/menus.cpp @@ -30,12 +30,14 @@ void popMenu() assert(menuLevel>0); menuLevel = menuLevel-1; menuEvent = EVT_ENTRY_UP; + TRACE("popMenu(%d)", menuLevel); } void chainMenu(MenuHandlerFunc newMenu) { menuHandlers[menuLevel] = newMenu; menuEvent = EVT_ENTRY; + TRACE("chainMenu(%d, %p)", menuLevel, newMenu); } void pushMenu(MenuHandlerFunc newMenu) @@ -58,6 +60,7 @@ void pushMenu(MenuHandlerFunc newMenu) menuHandlers[menuLevel] = newMenu; menuEvent = EVT_ENTRY; + TRACE("pushMenu(%d, %p)", menuLevel, newMenu); } #if defined(CPUARM)