From d2aa94508310819a61fc64f1bd9f4a18c42c21d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Wed, 26 Jan 2022 15:10:57 +0200 Subject: [PATCH] Select full item name upon entering edit mode in the collection tree (Instead of placing the cursor at the end of the edit field) Closes #2316 --- chrome/content/zotero/collectionTree.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/collectionTree.jsx b/chrome/content/zotero/collectionTree.jsx index d978c1444c..62e7c8c745 100644 --- a/chrome/content/zotero/collectionTree.jsx +++ b/chrome/content/zotero/collectionTree.jsx @@ -292,6 +292,7 @@ var CollectionTree = class CollectionTree extends LibraryTree { // Feels like a bit of a hack, but it gets the job done setTimeout(() => { label.focus(); + label.select(); }); }