mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
removed suppression of first DisplayChannel call after VDR start
This commit is contained in:
parent
3a6dced6c1
commit
07fa0e71ef
2
HISTORY
2
HISTORY
@ -166,3 +166,5 @@ Version 0.1.4
|
||||
|
||||
Version 0.1.5
|
||||
|
||||
- removed suppression of first DisplayChannel call after VDR start
|
||||
|
||||
|
2
config.h
2
config.h
@ -87,14 +87,12 @@ public:
|
||||
};
|
||||
|
||||
#ifdef DEFINE_CONFIG
|
||||
bool firstDisplay = true;
|
||||
cDesignerConfig config;
|
||||
cFontManager *fontManager = NULL;
|
||||
cImageCache *imgCache = NULL;
|
||||
cTheme Theme;
|
||||
cRecordingsFolderInfo recFolderInfo(Recordings);
|
||||
#else
|
||||
extern bool firstDisplay;
|
||||
extern cDesignerConfig config;
|
||||
extern cFontManager *fontManager;
|
||||
extern cImageCache *imgCache;
|
||||
|
@ -49,7 +49,6 @@ cSkinDisplayMenu *cSkinDesigner::DisplayMenu(void) {
|
||||
if (!useBackupSkin) {
|
||||
cSDDisplayMenu *displayMenu = NULL;
|
||||
Init();
|
||||
firstDisplay = false;
|
||||
displayMenu = new cSDDisplayMenu(menuTemplate);
|
||||
currentMenu = displayMenu;
|
||||
return displayMenu;
|
||||
|
@ -3,12 +3,8 @@
|
||||
|
||||
cSDDisplayChannel::cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo) {
|
||||
channelView = NULL;
|
||||
if (firstDisplay) {
|
||||
firstDisplay = false;
|
||||
doOutput = false;
|
||||
return;
|
||||
} else if (!channelTemplate) {
|
||||
esyslog("skindesigner: displayChannel no valid template - aborting");
|
||||
|
||||
if (!channelTemplate) {
|
||||
doOutput = false;
|
||||
return;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user