Skip to content
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

Fix rename warning dialog #82941

Closed
wants to merge 1 commit into from

Conversation

Sauermann
Copy link
Contributor

@Sauermann Sauermann commented Oct 7, 2023

When renaming files from FileSystemList, the focus changes to the LineEdit. Don't check if the FileSystemList has focus, since it doesn't have focus.
This ensures to return always from the function when a rename error happens. Currently there is an execution path, that allows staying in the function, which results in the situation, that the warning-message-popup is opened a second time, that causes the error message in the console.

resolve part of #82543

When renaming from `FileSystemList`, the focus changes to the `LineEdit`.
Don't check if the `FileSystemList` has focus, since it doesn't have
focus.
@Sauermann Sauermann added this to the 4.2 milestone Oct 7, 2023
@Sauermann Sauermann requested a review from a team as a code owner October 7, 2023 01:20
@VedatGunel
Copy link
Contributor

My PR #82075 includes this fix. It also fixes a crash that occurs in single window mode.

@Sauermann
Copy link
Contributor Author

Closing in favor of preexisting duplicate #82075.

@Sauermann Sauermann closed this Oct 7, 2023
@Sauermann Sauermann deleted the fix-rename-warning branch October 7, 2023 07:40
@YeldhamDev YeldhamDev removed this from the 4.2 milestone Oct 7, 2023
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