X Tutup
Skip to content

Fix signal order for directory selection in file_dialog#113564

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
MattiaZir:fix-project-import-error-parent-child
Dec 5, 2025
Merged

Fix signal order for directory selection in file_dialog#113564
akien-mga merged 1 commit intogodotengine:masterfrom
MattiaZir:fix-project-import-error-parent-child

Conversation

@MattiaZir
Copy link
Contributor

@MattiaZir MattiaZir commented Dec 4, 2025

It looks like it's a simple fix, but I would like your opinion since the file_dialog file is pretty important.
It should fix #113487

@MattiaZir MattiaZir requested a review from a team as a code owner December 4, 2025 14:22
@AThousandShips AThousandShips changed the title Fix signal order for directory selection in file_dialog, fixes #113487 Fix signal order for directory selection in file_dialog Dec 4, 2025
@MattiaZir MattiaZir changed the title Fix signal order for directory selection in file_dialog Fix signal order for directory selection in `file_dialog' Dec 4, 2025
@AThousandShips AThousandShips added this to the 4.6 milestone Dec 4, 2025
@MattiaZir MattiaZir changed the title Fix signal order for directory selection in `file_dialog' Fix signal order for directory selection in file_dialog Dec 4, 2025
@MattiaZir
Copy link
Contributor Author

@AThousandShips Sorry for unfixing the title, didn't expect you to be this fast!

@AThousandShips

This comment was marked as resolved.

@MattiaZir MattiaZir force-pushed the fix-project-import-error-parent-child branch from 9608638 to 0e02899 Compare December 4, 2025 14:40
@MattiaZir

This comment was marked as resolved.

@AThousandShips

This comment was marked as resolved.

@akien-mga akien-mga requested a review from KoBeWi December 4, 2025 14:55
@KoBeWi
Copy link
Member

KoBeWi commented Dec 4, 2025

The same needs to be applied to other signals:

emit_signal(SNAME("file_selected"), f);
hide();

emit_signal(SNAME("files_selected"), files);
hide();

emit_signal(SNAME("file_selected"), f);
hide();

@MattiaZir
Copy link
Contributor Author

Thank you for the tip

@akien-mga
Copy link
Member

Looks good! Could you squash the commits? See PR workflow for instructions.

@MattiaZir MattiaZir force-pushed the fix-project-import-error-parent-child branch from 443a5eb to 98ccfb0 Compare December 4, 2025 16:24
@MattiaZir
Copy link
Contributor Author

Thank you, did I squash it correctly?

@akien-mga akien-mga merged commit 9706b4e into godotengine:master Dec 5, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@MattiaZir MattiaZir deleted the fix-project-import-error-parent-child branch December 5, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when selecting project to import

4 participants

X Tutup