mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
/widget/menue.h/cpp: add missing signal OnAfterChangeOption()
This commit is contained in:
@@ -2242,6 +2242,7 @@ int CMenuOptionStringChooser::exec(CMenuTarget* parent)
|
|||||||
else if(observ) {
|
else if(observ) {
|
||||||
wantsRepaint = observ->changeNotify(name, (void *)(optionValuePtr ? optionValuePtr->c_str() : ""));
|
wantsRepaint = observ->changeNotify(name, (void *)(optionValuePtr ? optionValuePtr->c_str() : ""));
|
||||||
}
|
}
|
||||||
|
OnAfterChangeOption();
|
||||||
if (wantsRepaint)
|
if (wantsRepaint)
|
||||||
ret = menu_return::RETURN_REPAINT;
|
ret = menu_return::RETURN_REPAINT;
|
||||||
|
|
||||||
|
@@ -528,6 +528,7 @@ class CMenuOptionStringChooser : public CMenuItem
|
|||||||
*optionValuePtr = val;
|
*optionValuePtr = val;
|
||||||
}
|
}
|
||||||
std::string getOptionValue() { return *optionValuePtr; }
|
std::string getOptionValue() { return *optionValuePtr; }
|
||||||
|
sigc::signal<void> OnAfterChangeOption;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CMenuGlobal
|
class CMenuGlobal
|
||||||
|
Reference in New Issue
Block a user