Skip to content

Commit

Permalink
reflect clap changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 19, 2024
1 parent 3dcb7b8 commit 4d6609a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clap
2 changes: 1 addition & 1 deletion clap-helpers
4 changes: 2 additions & 2 deletions plugins/core-plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -380,14 +380,14 @@ namespace clap {
void CorePlugin::onGuiUndo() {
runOnMainThread([this] {
if (_canUndo && _host.canUseUndo())
_host.undoUndo();
_host.undoRequestUndo();
});
}

void CorePlugin::onGuiRedo() {
runOnMainThread([this] {
if (_canRedo && _host.canUseUndo())
_host.undoRedo();
_host.undoRequestRedo();
});
}

Expand Down

0 comments on commit 4d6609a

Please sign in to comment.