-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
3.5rc1 Clear Recent Files returns out of bounds error #61179
Comments
Indeed. It was discussed on Rocket.Chat that this wouldn't break compat but obviously this does, it's probably best to revert for 3.5 as it will break all user code. Or maybe only the |
Sorry for that. Wasn’t sure if I should backport PopupMenu changes too or only OptionButton ones. Should have discussed this better. Also, that’s why a commit should never contain two (or more) distinct changes. |
Fixed by #61181. |
Godot version
3.5rc1
System information
Windows 11
Issue description
If you try to Clear Recent Files in the script editor you get an out of bonds error and the list isn't cleared.
editor/plugins/script_editor_plugin.cpp:486 - Index p_idx = 1 is out of bounds (rc.size() = 1)
It doesn't matter how many files are listed. In 3.4.4, 3.5b5 and 4.0a8 it's working as intendet.
Steps to reproduce
Open any script and click "Clear Recent Files"
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: