diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 0d31b6b5d..34d7a4132 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -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; diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index ec39de774..af1af7e85 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -528,6 +528,7 @@ class CMenuOptionStringChooser : public CMenuItem *optionValuePtr = val; } std::string getOptionValue() { return *optionValuePtr; } + sigc::signal OnAfterChangeOption; }; class CMenuGlobal