From d60c56091f7191cd7e694365f52eb1e838e4f065 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 12 Mar 2019 22:00:11 +0100 Subject: [PATCH] /widget/menue.h/cpp: add missing signal OnAfterChangeOption() Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/0462547303a406a58dfb24d991cf26ebf97a3f58 Author: Thilo Graf Date: 2019-03-12 (Tue, 12 Mar 2019) --- 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 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