mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CMenuForwarder: Fix options handling
This commit is contained in:
committed by
Jacek Jendrzej
parent
86fca10909
commit
08130328a0
@@ -217,8 +217,8 @@ class CMenuForwarder : public CMenuItem
|
||||
std::string actionKey;
|
||||
|
||||
protected:
|
||||
std::string option_string;
|
||||
const std::string * option_string_ptr;
|
||||
const char * option;
|
||||
const std::string * option_string;
|
||||
CMenuTarget * jumpTarget;
|
||||
|
||||
virtual std::string getOption(void);
|
||||
@@ -250,6 +250,7 @@ class CMenuForwarder : public CMenuItem
|
||||
int exec(CMenuTarget* parent);
|
||||
bool isSelectable(void) const { return active; }
|
||||
void setOption(const std::string &Option);
|
||||
void setOption(const char * const Option);
|
||||
void setName(const std::string& text);
|
||||
void setName(const neutrino_locale_t text);
|
||||
};
|
||||
|
Reference in New Issue
Block a user