Commit a60d4e2
committed
Auto-select name for editing when creating new files/folders (#2029)
When creating a new file or folder in the project navigator, the name
field should automatically be selected for editing, matching standard
macOS UX expectations and Finder behavior.
The newFileFromClipboard() function already had this behavior by calling
renameFile() at the end. Applied the same pattern to newFile() and
newFolder().
Fixes #20291 parent 8c05355 commit a60d4e2
File tree
1 file changed
+2
-0
lines changed1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
0 commit comments