From b980a2f7420fe67906a1af349aa4843c3c8c66c2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 20 Feb 2023 17:52:51 +0100 Subject: [PATCH] Made the callback function in OptionListComponent more generic. --- es-core/src/components/OptionListComponent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/OptionListComponent.h b/es-core/src/components/OptionListComponent.h index 0d2097ab1..b392ab36a 100644 --- a/es-core/src/components/OptionListComponent.h +++ b/es-core/src/components/OptionListComponent.h @@ -249,7 +249,7 @@ public: void setOverrideMultiText(const std::string& text) { mOverrideMultiText = text; } void clearEntries() { mEntries.clear(); } - void setCallback(const std::function& callbackFunc) + void setCallback(const std::function& callbackFunc) { mSelectedChangedCallback = callbackFunc; }