Skip to content

Commit

Permalink
Fix HTTPServer undo/redo
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Oct 20, 2023
1 parent 190adff commit 384944f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Utils/OpenEphysHttpServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,6 @@ class OpenEphysHttpServer : juce::Thread {

if (!CoreServices::getAcquisitionStatus())
{
const MessageManagerLock mml;
graph_->getUndoManager()->redo();
return_msg = "Redo operation completed successfully.";
} else {
Expand Down Expand Up @@ -791,6 +790,8 @@ class OpenEphysHttpServer : juce::Thread {
return;
}

const MessageManagerLock mml;

parameter->setNextValue(val);

json ret;
Expand Down

0 comments on commit 384944f

Please sign in to comment.