fix focusing title after creating a note

This commit is contained in:
zadam
2020-06-04 21:44:34 +02:00
parent 1502b9ce66
commit 58fa0832f6
4 changed files with 13 additions and 11 deletions

View File

@@ -73,7 +73,7 @@ class TabContext extends Component {
protectedSessionHolder.touchProtectedSessionIfNecessary(this.note);
if (triggerSwitchEvent) {
this.triggerEvent('tabNoteSwitched', {
await this.triggerEvent('tabNoteSwitched', {
tabContext: this,
notePath: this.notePath
});
@@ -127,4 +127,4 @@ class TabContext extends Component {
}
}
export default TabContext;
export default TabContext;