Skip to content

Filter doesn't work on Windows 11 and Godot 4.3 Stable #34

@luckyabsoluter

Description

@luckyabsoluter
  • NativeDialogs v2.2.1
  • Godot 4.3 Stable
var native_file_dialog := NativeFileDialog.new()

func _ready():
	native_file_dialog.file_mode = NativeFileDialog.FILE_MODE_OPEN_FILE
	native_file_dialog.add_filter("*.png, *.jpg")
	native_file_dialog.file_selected.connect(_file_selected)
	add_child(native_file_dialog)

func _on_open_button_pressed(): # my signal from Button
	native_file_dialog.show()

func _file_selected(path: String):
	print("path: ", path)

I didn't test on Windows 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions