mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix Open Editor Data/Settings Folder menu in self-contained mode
(cherry picked from commit d164a70aa0)
This commit is contained in:
parent
639d133ff6
commit
9ca84aa900
1 changed files with 3 additions and 3 deletions
|
|
@ -6607,11 +6607,11 @@ EditorNode::EditorNode() {
|
|||
p->add_separator();
|
||||
|
||||
#ifndef ANDROID_ENABLED
|
||||
if (OS::get_singleton()->get_data_path() == OS::get_singleton()->get_config_path()) {
|
||||
// Configuration and data folders are located in the same place (Windows/macOS)
|
||||
if (EditorSettings::get_singleton()->get_data_dir() == EditorSettings::get_singleton()->get_settings_dir()) {
|
||||
// Configuration and data folders are located in the same place.
|
||||
p->add_item(TTR("Open Editor Data/Settings Folder"), SETTINGS_EDITOR_DATA_FOLDER);
|
||||
} else {
|
||||
// Separate configuration and data folders (Linux)
|
||||
// Separate configuration and data folders.
|
||||
p->add_item(TTR("Open Editor Data Folder"), SETTINGS_EDITOR_DATA_FOLDER);
|
||||
p->add_item(TTR("Open Editor Settings Folder"), SETTINGS_EDITOR_CONFIG_FOLDER);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue