Skip to content

Fix FileSystemDock signal connection for path navigation text box #107434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

lodetrick
Copy link
Contributor

@lodetrick lodetrick commented Jun 12, 2025

In the current master, clicking the filepath textbox and entering a filepath throws an error: ERROR: Error calling from signal 'text_submitted' to callable: 'FileSystemDock::FileSystemDock::_navigate_to_path': Method expected 3 arguments, but called with 2.

This was caused because #106049 added another default parameter to the _navigate_to_path method, but the signal connection was not updated accordingly. This PR updates the connect call to properly create the callable, so it doesn't throw errors anymore. It chooses the true value to give focus to the file that you just navigated to.

@lodetrick lodetrick requested a review from a team as a code owner June 12, 2025 02:34
@AThousandShips AThousandShips added this to the 4.5 milestone Jun 12, 2025
@akien-mga akien-mga changed the title Fix File System Dock signal not connected Fix FileSystemDock signal connection for path navigation text box Jun 12, 2025
@akien-mga akien-mga merged commit 0252774 into godotengine:master Jun 12, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

3 participants