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);