mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
clear note selection anytime a new note is activated
This commit is contained in:
parent
a53a65be1f
commit
dc6a530d8c
1
.idea/vcs.xml
generated
1
.idea/vcs.xml
generated
@ -2,6 +2,5 @@
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -382,8 +382,6 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
}
|
||||
else {
|
||||
node.setActive();
|
||||
|
||||
this.clearSelectedNodes();
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -393,6 +391,8 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
// click event won't propagate so let's close context menu manually
|
||||
contextMenu.hide();
|
||||
|
||||
this.clearSelectedNodes();
|
||||
|
||||
const notePath = treeService.getNotePath(data.node);
|
||||
|
||||
const activeTabContext = appContext.tabManager.getActiveTabContext();
|
||||
|
Loading…
x
Reference in New Issue
Block a user