From 43f77618be4f1b5a424f970fda3f44752c7f7684 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 12 Mar 2019 10:48:33 +0100 Subject: [PATCH] /widget/menue.h/cpp: add missing signal OnAfterChangeOption() --- src/gui/widget/menue.cpp | 1 + src/gui/widget/menue.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 14ef7e4ba..6bac97b04 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -2242,6 +2242,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 5c0359c06..38b5afc47 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