diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-12-14 11:46:34 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-12-14 11:46:34 +0100 |
commit | 509a7524d9396a8b51a2246a8db0e25ca2eda050 (patch) | |
tree | 52fa5867a9298d6d868f8fd1c897308732aae954 | |
parent | 07e0f562da4b0a2cc9be44d2f771f9347e1cc368 (diff) | |
download | skin-flatplus-509a7524d9396a8b51a2246a8db0e25ca2eda050.tar.gz skin-flatplus-509a7524d9396a8b51a2246a8db0e25ca2eda050.tar.bz2 |
[fix] only draw widgets if enabled
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | displaymenu.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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(); } } |