Skip to content

Commit 1259ff0

Browse files
committed
add name filter to editor file dialog
1 parent 8b8e081 commit 1259ff0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

game/addons/tools/Code/CodeEditors/CodeEditorControlWidget.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ void BuildUIImmediate()
135135
var fd = new FileDialog( null );
136136
fd.Title = $"Locate editor executable";
137137
fd.DefaultSuffix = "exe";
138+
fd.SetNameFilter( "Executable Files (*.exe)" );
138139
if ( fd.Execute() )
139140
{
140141
var selectedFile = fd.SelectedFile;

0 commit comments

Comments
 (0)