MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setRestoreState

Method setRestoreState

Source/Core/CtrlrPanel/CtrlrPanel.cpp:202–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void CtrlrPanel::setRestoreState(const bool _restoreStateStatus)
203{
204 const ScopedWriteLock lock (panelLock);
205
206 getUndoManager()->clearUndoHistory();
207 restoreStateStatus = _restoreStateStatus;
208}
209
210void CtrlrPanel::setProgramState(const bool _programState)
211{

Callers 1

setProgramMethod · 0.45

Calls 2

getUndoManagerFunction · 0.50
clearUndoHistoryMethod · 0.45

Tested by

no test coverage detected