/widget/menue.h/cpp: add missing signal OnAfterChangeOption()

Origin commit data
------------------
Commit: 0462547303
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-12 (Tue, 12 Mar 2019)
This commit is contained in:
2019-03-12 22:00:11 +01:00
committed by vanhofen
parent 5726e916de
commit d60c56091f
2 changed files with 2 additions and 0 deletions

View File

@@ -2237,6 +2237,7 @@ int CMenuOptionStringChooser::exec(CMenuTarget* parent)
else if(observ) {
wantsRepaint = observ->changeNotify(name, (void *)(optionValuePtr ? optionValuePtr->c_str() : ""));
}
OnAfterChangeOption();
if (wantsRepaint)
ret = menu_return::RETURN_REPAINT;

View File

@@ -528,6 +528,7 @@ class CMenuOptionStringChooser : public CMenuItem
*optionValuePtr = val;
}
std::string getOptionValue() { return *optionValuePtr; }
sigc::signal<void> OnAfterChangeOption;
};
class CMenuGlobal