commit 5ee572955d1f03c8c883325a28b59167f1aeef54
parent c153a8b36c4866b9f21983f5cc5ddfea68a2822f
Author: falkTX <falktx@falktx.com>
Date: Wed, 2 Jun 2021 18:06:37 +0100
Notify DSP of fallback file browser selected change
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/distrho/src/DistrhoUIPrivateData.hpp b/distrho/src/DistrhoUIPrivateData.hpp
@@ -269,6 +269,9 @@ protected:
if (char* const key = ui->uiData->uiStateFileKeyRequest)
{
ui->uiData->uiStateFileKeyRequest = nullptr;
+ // notify DSP
+ ui->setState(key, filename);
+ // notify UI
ui->stateChanged(key, filename);
std::free(key);
return;