From 28d77bd1ce5786fc89975c5fe6c33c21511bbb0f Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 27 Apr 2024 17:44:51 +0200 Subject: [PATCH] Fix WUPSConfigItemV1::onCloseCallback --- source/config/WUPSConfigItemV1.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/config/WUPSConfigItemV1.cpp b/source/config/WUPSConfigItemV1.cpp index 0d64f2f..23660d8 100644 --- a/source/config/WUPSConfigItemV1.cpp +++ b/source/config/WUPSConfigItemV1.cpp @@ -81,6 +81,7 @@ namespace WUPSConfigAPIBackend { void WUPSConfigItemV1::onCloseCallback() { if (this->mCallbacks.callCallback == nullptr) { DEBUG_FUNCTION_LINE_VERBOSE("callCallback callback not implemented. [%s]", mDisplayName.c_str()); + return; } if (mDefaultValue != getCurrentValueDisplay()) { this->mCallbacks.callCallback(mContext);