This commit is contained in:
zadam
2020-02-28 00:31:12 +01:00
parent 2af37640d8
commit cb35284d37
4 changed files with 20 additions and 7 deletions

View File

@@ -575,7 +575,15 @@ export default class TabRowWidget extends BasicWidget {
return closestIndex;
};
tabNoteSwitchedAndActivatedEvent({tabId}) {
this.updateTabById(tabId);
}
tabNoteSwitchedEvent({tabId}) {
this.updateTabById(tabId);
}
updateTabById(tabId) {
const $tab = this.getTabById(tabId);
const {note} = appContext.tabManager.getTabContextById(tabId);