diff --git a/src/app/browser/window/tab/item/page/content/text/search/tag.rs b/src/app/browser/window/tab/item/page/content/text/search/tag.rs index 55487d10..56b2f40f 100644 --- a/src/app/browser/window/tab/item/page/content/text/search/tag.rs +++ b/src/app/browser/window/tab/item/page/content/text/search/tag.rs @@ -17,8 +17,9 @@ impl Tag { let found = found::new(); // Init `Self` - tag_table.add(¤t); tag_table.add(&found); + tag_table.add(¤t); // keep current priority as `current` overwrites `found` tag! + // https://docs.gtk.org/gtk4/method.TextTag.set_priority.html Self { current, found } }