Skip to content

Commit be985b0

Browse files
committed
check whether a link is selected on every (cursor) mark change
1 parent fa44e72 commit be985b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/view.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ class AbstractStickyNote extends Gtk.TextView {
117117
)
118118
) {
119119
this.emit("selection-changed");
120-
121-
this.check_link_selected();
122120
}
123121

122+
this.check_link_selected();
123+
124124
const tags = this.get_tags();
125125
if (compare_tags(tags, this.note.tags)) return;
126126
this.note.tags = tags;

0 commit comments

Comments
 (0)