-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
Hotkey for save does not work for saving current scene when script editor is in focus. #82367
Comments
My bad wrong duplicate, but duplicate, finding the correct issue Edit: might not be, but will look further |
This is a case of a contextual shortcut, see #79337 When inside the script editor the script editor has focus, by design, so that you can save a script instead of a scene To work around this if you like you can add a shortcut for save scene, under The shortcut was changed because it was felt that most people would expect |
As a long time user, stumbling upon this was really frustrating. It can be easily worked around though but I don't really have a usecase for saving the script alone and not the currently modified scene. |
The previous behaviour was because of a limitation:
|
So if I understand correctly, if I |
Let me know if that is the case, then I will raise a bug again. |
Thanks, you are life saver. I did change and it worked fine. Closing this issue as this is a default value change as mentioned in #79337 |
Godot version
4.2.dev.5
System information
Windows 11
Issue description
When you have a scene open with some export variables and script editor is active. If the scene is modified by modifying the export variables in the inspector. Pressing
Ctrl + S
will not save the scene, when the focus and cursor active in script editor.This is working fine in 4.1.1
This may have been solved by a PR I don't remember. Raised to make sure the issue is addressed.
Steps to reproduce
Ctrl + S
Expected the scene and any changes in the script is saved.
It will not.
Minimal reproduction project
Not Applicable
The text was updated successfully, but these errors were encountered: