Fix potential restart error switching to first note of session
This commit is contained in:
parent
1deba232fa
commit
14f40218a9
1 changed files with 3 additions and 1 deletions
|
@ -620,7 +620,9 @@
|
|||
<method name="clearUndo">
|
||||
<body>
|
||||
<![CDATA[
|
||||
this._editor.undoManager.clear();
|
||||
if (this._editor) {
|
||||
this._editor.undoManager.clear();
|
||||
}
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
|
Loading…
Reference in a new issue