Skip to content

Commit

Permalink
[hide] ProjectSetting file directory use new fileselect Api
Browse files Browse the repository at this point in the history
  • Loading branch information
EspeuteClement committed Jan 7, 2025
1 parent efcca16 commit b3970c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hide/view/settings/ProjectSettings.hx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ class ProjectSettings extends hide.ui.View<{}> {
inspect(s);
});

var fileSelect = new hide.comp.FileSelect(null, row, null);
var fileSelect = new hide.comp.FileSelect([], row, null);
fileSelect.directory = true;
fileSelect.disabled = true;
fileSelect.path = s.folder;
fileSelect.element.val(absToRelPath(haxe.io.Path.normalize(fileSelect.path)));
Expand Down

0 comments on commit b3970c9

Please sign in to comment.