🐛 switch tab save layout
This commit is contained in:
parent
9efe61af7c
commit
8cb3e0c976
1 changed files with 2 additions and 0 deletions
|
@ -431,6 +431,7 @@ export class Wnd {
|
|||
if (initData) {
|
||||
currentTab.addModel(newModelByInitData(this.app, currentTab, JSON.parse(initData)));
|
||||
currentTab.headElement.removeAttribute("data-initdata");
|
||||
saveLayout();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -491,6 +492,7 @@ export class Wnd {
|
|||
resize,
|
||||
});
|
||||
}
|
||||
saveLayout();
|
||||
}
|
||||
|
||||
public addTab(tab: Tab, keepCursor = false, isSaveLayout = true) {
|
||||
|
|
Loading…
Add table
Reference in a new issue