summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--displaymenu.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index e6283c04..abdd0249 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5,6 +5,7 @@ VDR Plugin 'skinflatplus' Revision History
- [fix] topbar number recordings
- [fix] recording menu, total count size
- [fix] timer widget
+- [fix] only draw widgets if enabled
- [update] timer widget
new options to select which timer to show (recording, active)
diff --git a/displaymenu.c b/displaymenu.c
index 43284011..307abffb 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -128,7 +128,7 @@ void cFlatDisplayMenu::SetMenuCategory(eMenuCategory MenuCategory) {
itemRecordingHeight = fontHeight + Config.MenuItemPadding + Config.decorBorderMenuItemSize*2;
else if( Config.MenuRecordingView == 2 || Config.MenuRecordingView == 3 )
itemRecordingHeight = fontHeight + fontSmlHeight + marginItem + Config.MenuItemPadding + Config.decorBorderMenuItemSize*2;
- } else if( menuCategory == mcMain ) {
+ } else if( menuCategory == mcMain && Config.MainMenuWidgetsEnable ) {
DrawMainMenuWidgets();
}
}