diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index d0450e1e6..5f5c38c5a 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -68,6 +68,7 @@ CMenuItem::CMenuItem(bool Active, neutrino_msg_t DirectKey, const char * const I active = current_active = Active; directKey = DirectKey; isStatic = IsStatic; + type_name = "CMenuItem"; if (IconName && *IconName) iconName = IconName; @@ -2512,6 +2513,7 @@ void CMenuSeparator::init(const int& Type, const neutrino_locale_t& lText, const type = Type; name = lText; nameString = sText; + type_name = "CMenuSeparator"; } int CMenuSeparator::getHeight(void) diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index c5beed634..ff90dd333 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -134,6 +134,7 @@ class CMenuItem : public CComponentsSignals void handleOptionIcon(const std::string& str_option); const char* getValName(const neutrino_locale_t& Option, const char* ValName); public: + std::string type_name; int height; bool active, current_active; bool marked;