FIX: somehow button is not set

This commit is contained in:
Sam 2014-07-18 10:31:02 +10:00
parent 1359a02128
commit da26aae41e
1 changed files with 1 additions and 1 deletions

View File

@ -1420,7 +1420,7 @@
inputBox.focus(); inputBox.focus();
if (button.textOp) { if (button && button.textOp) {
if (undoManager) { if (undoManager) {
undoManager.setCommandMode(); undoManager.setCommandMode();