Fix potential restart error switching to first note of session

This commit is contained in:
Dan Stillman 2017-10-26 01:22:36 -04:00
parent 1deba232fa
commit 14f40218a9

View file

@ -620,7 +620,9 @@
<method name="clearUndo">
<body>
<![CDATA[
this._editor.undoManager.clear();
if (this._editor) {
this._editor.undoManager.clear();
}
]]>
</body>
</method>