Do not grab focus on filename LineEdit in EditorFileDialog when outside the tree#106260
Merged
Merged
Conversation
timothyqiu
reviewed
May 11, 2025
Member
|
I checked the relevant code and I think the error is caused by the |
a7fcbce to
04b4c05
Compare
LineEdit in EditorFileDialog when outside the tree
Member
Author
Patched The |
Member
|
You can instead move this call into the condition below: godot/editor/gui/editor_file_dialog.cpp Lines 1422 to 1424 in 34f005d _focus_file_text() is called on dialog popup, so it's irrelevant when the dialog is hidden.
|
04b4c05 to
4138fdb
Compare
Member
Author
Done. |
KoBeWi
reviewed
May 18, 2025
4138fdb to
1dbbb94
Compare
1dbbb94 to
8bd1b5f
Compare
KoBeWi
approved these changes
May 18, 2025
Contributor
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a POT is generated for the first time,
last_pot_pathis added to the project metadata and this value gets used the next time the Editor runs to configure the POT generator dialog.The problem is that currently the code configures the dialog too early and an error shows up the next time the Editor runs:
This PR fixes this issue.
To reproduce the bug, simply run the following project in the CLI:
POTGeneratorDialogBug.zip