File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Plugins/SimpleFileBrowser/Scripts Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2187,7 +2187,11 @@ private void UpdateFilenameInputFieldWithSelection()
2187
2187
filenameInputField . interactable = selectedFileEntries . Count <= 1 ;
2188
2188
2189
2189
if ( filenameContributingFileCount == 0 )
2190
- filenameInputField . text = string . Empty ;
2190
+ {
2191
+ // If multiple files were previously selected, clear the input field. If a single file was selected, preserve the filename
2192
+ if ( filenameInputField . text . StartsWith ( "\" " ) )
2193
+ filenameInputField . text = string . Empty ;
2194
+ }
2191
2195
else
2192
2196
{
2193
2197
if ( filenameContributingFileCount > 1 )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " com.yasirkula.simplefilebrowser" ,
3
3
"displayName" : " Simple File Browser" ,
4
- "version" : " 1.4.6 " ,
4
+ "version" : " 1.4.7 " ,
5
5
"documentationUrl" : " https://github.com/yasirkula/UnitySimpleFileBrowser" ,
6
6
"changelogUrl" : " https://github.com/yasirkula/UnitySimpleFileBrowser/releases" ,
7
7
"licensesUrl" : " https://github.com/yasirkula/UnitySimpleFileBrowser/blob/master/LICENSE.txt" ,
You can’t perform that action at this time.
0 commit comments