better UX when deleting notes - focus in note tree is moved to the next/previous note

This commit is contained in:
zadam
2020-05-12 13:40:42 +02:00
parent 30b9ef8604
commit 4f50864ec8
4 changed files with 27 additions and 3 deletions

View File

@@ -614,6 +614,7 @@ export default class TabRowWidget extends BasicWidget {
if (!note) {
this.updateTitle($tab, 'New tab');
return;
}
this.updateTitle($tab, note.title);