From fe916d075e097a3fd8034da6b814b4d25d2b6b3c Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Tue, 17 Sep 2024 16:59:18 +0200 Subject: [PATCH] Missing transmission of the undo info to the gui --- plugins/core-plugin.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/core-plugin.cc b/plugins/core-plugin.cc index 01c8114..1231767 100644 --- a/plugins/core-plugin.cc +++ b/plugins/core-plugin.cc @@ -182,6 +182,11 @@ namespace clap { guiSubscribeUndo(); guiPopulateProperties(); + _guiHandle->gui().setCanRedo(_canRedo); + _guiHandle->gui().setCanUndo(_canUndo); + _guiHandle->gui().setRedoName(_redoName.value_or("(none)")); + _guiHandle->gui().setUndoName(_undoName.value_or("(none)")); + auto skinPath = _pathProvider->getQmlSkinPath(); _guiHandle->gui().addImportPath(_pathProvider->getQmlLibraryPath()); _guiHandle->gui().setSkin(skinPath);