init updateDirty
This commit is contained in:
parent
3c7146c5d3
commit
9bda662f21
|
@ -179,9 +179,8 @@ preinit();
|
||||||
onTitleChanged: updateTitle
|
onTitleChanged: updateTitle
|
||||||
});
|
});
|
||||||
editor.dirty.onChange(updateDirty);
|
editor.dirty.onChange(updateDirty);
|
||||||
if (editor.ready) {
|
return Promise.resolve(editor.ready && editor.ready())
|
||||||
return editor.ready();
|
.then(updateDirty);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user