Skip to content

Commit

Permalink
Missing transmission of the undo info to the gui
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 17, 2024
1 parent afc21de commit fe916d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/core-plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe916d0

Please sign in to comment.