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
This commit is contained in:
Adomas Venčkauskas 2022-01-26 15:10:57 +02:00
parent da8f4df8ca
commit d2aa945083

View file

@ -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();
});
}