mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Made the callback function in OptionListComponent more generic.
This commit is contained in:
parent
8d8de39c39
commit
b980a2f742
|
@ -249,7 +249,7 @@ public:
|
|||
|
||||
void setOverrideMultiText(const std::string& text) { mOverrideMultiText = text; }
|
||||
void clearEntries() { mEntries.clear(); }
|
||||
void setCallback(const std::function<void(const std::string&)>& callbackFunc)
|
||||
void setCallback(const std::function<void(const T& object)>& callbackFunc)
|
||||
{
|
||||
mSelectedChangedCallback = callbackFunc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue