mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed bug in default lists
This commit is contained in:
@@ -273,6 +273,13 @@ void cLeMenuDefault::CheckProgressBar(const char *text, int tab) {
|
||||
tokenContainer->AddIntToken(32 + tab, len);
|
||||
}
|
||||
|
||||
void cLeMenuDefault::Clear(void) {
|
||||
if (current && currentElement) {
|
||||
currentElement->Close();
|
||||
}
|
||||
cViewElement::Close();
|
||||
dirty = false;
|
||||
}
|
||||
/******************************************************************
|
||||
* cVeMenuMain
|
||||
******************************************************************/
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
bool DoScroll(void) { return current; };
|
||||
virtual void RenderCurrent(void) { };
|
||||
void Close(void);
|
||||
void Clear(void);
|
||||
virtual void Clear(void);
|
||||
};
|
||||
|
||||
/******************************************************************
|
||||
@@ -70,6 +70,7 @@ public:
|
||||
void SetPlugin(const char *plugName) { this->plugName = plugName; };
|
||||
void SetTokenContainer(void);
|
||||
bool Parse(bool forced = true);
|
||||
void Clear(void);
|
||||
};
|
||||
|
||||
/******************************************************************
|
||||
|
Reference in New Issue
Block a user