-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Use EditorFileDialog instead of FileDialog in the project manager #52742
Use EditorFileDialog instead of FileDialog in the project manager #52742
Conversation
5579449
to
dff8016
Compare
dff8016
to
3da0df7
Compare
Rebased and changed the following:
|
editor/editor_file_dialog.cpp
Outdated
_push_history(); | ||
Error change_dir_result = dir_access->change_dir(favorites->get_item_metadata(p_idx)); | ||
if (change_dir_result != OK) { | ||
error_dialog->set_text(TTR("Favorized folder does not exist anymore and will be removed.")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure "Favorized" will be understood / is a common term for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The English term for this would be "Favorited", not "Favorized".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you are right, changed it to "favorited".
3da0df7
to
565b9b7
Compare
Fixed the addressed issues, resulting in some changes to EditorFileDialog:
In addition:
|
565b9b7
to
ca05ee0
Compare
Needs a rebase to solve merge conflicts. |
ca05ee0
to
77fb65d
Compare
Thanks! |
This change is causing Project Manager to crash on exit: Trace:
Seems like something wrong with loading/unloading editor icons. |
Also, it seems to completly break editor setting saving/loading, everything is written to the current directory instead of proper global location. |
…s_project_manager_hint()`. See: godotengine/godot#52742
…s_project_manager_hint()`. See: godotengine/godot#52742
* Fix compilation errors in export plugin * Comment rpc stuff fixes in #369 * Replace `plus_file` with `path_join`. See: godotengine/godot#65066 * Replace `call` with `callp` and `call_deferred` witch `call_deferredp`. See: godotengine/godot@d4433ae * Replace `Main::is_project_manager()` with `Engine::get_singleton()->is_project_manager_hint()`. See: godotengine/godot#52742 * Fix `save` overridden method structure * Add overrides for new pure virtual functions * Add overrides for missing pure virtual functions * Fix bottom panel * Fix import and tooltip * Implement missing function * Make `KotlinEditorExportPlugin` header only to make it compile. See: `GDExtensionExportPlugin` * Fix godot actions input * Fix wrong arch input * Rename osx to macos for platform input * Rename job matrix name for macos targets * Remove remaining `tools` inputs * Add setup vulkan sdk * Fix target * Replace all occurrences of osx with macos * Replace `OSX_ENABLED` with `MACOS_ENABLED` * Rename directory * Fix x86_64 binary name * Fix android export template builds * Replace `tools` with `editor` * Fix download binary name * Fix kotlin compilation errors (except rpc stuff from entry gen) * Fix template release target after rebase * Fix reference typos * Fix reference typos * fix: bring back kotlin_editor_export_plugin.cpp * Fix imports * Improve import path to match other occurrences * Fix wrong alignment Co-authored-by: Pierre-Thomas Meisels <[email protected]>
Use EditorFileDialog instead of FileDialog in the project manager (primarily because of the favorites/recent_dir functionality), aiming to accelerate the workflow when frequently creating new projects/dealing with many projects in general. This allows for easier navigation to common folders in which you create many small projects (e.g. for testing/prototyping).
Changes: