components now track their parent

This commit is contained in:
zadam
2020-02-15 09:43:47 +01:00
parent 9337564075
commit 6d847d22d3
14 changed files with 66 additions and 58 deletions

View File

@@ -29,8 +29,8 @@ const TPL = `
`;
export default class NoteTreeWidget extends TabAwareWidget {
constructor(appContext) {
super(appContext);
constructor(appContext, parent) {
super(appContext, parent);
window.glob.cutIntoNote = () => this.cutIntoNoteListener();