Skip to content

Commit dd61443

Browse files
authored
Merge pull request #110414 from timothyqiu/sc-paths-3.x
[3.x] Fix Open Editor Data/Settings Folder menu in self-contained mode
2 parents 5aed565 + d164a70 commit dd61443

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editor/editor_node.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6647,11 +6647,11 @@ EditorNode::EditorNode() {
66476647
p->add_separator();
66486648

66496649
#ifndef ANDROID_ENABLED
6650-
if (OS::get_singleton()->get_data_path() == OS::get_singleton()->get_config_path()) {
6651-
// Configuration and data folders are located in the same place (Windows/macOS)
6650+
if (EditorSettings::get_singleton()->get_data_dir() == EditorSettings::get_singleton()->get_settings_dir()) {
6651+
// Configuration and data folders are located in the same place.
66526652
p->add_item(TTR("Open Editor Data/Settings Folder"), SETTINGS_EDITOR_DATA_FOLDER);
66536653
} else {
6654-
// Separate configuration and data folders (Linux)
6654+
// Separate configuration and data folders.
66556655
p->add_item(TTR("Open Editor Data Folder"), SETTINGS_EDITOR_DATA_FOLDER);
66566656
p->add_item(TTR("Open Editor Settings Folder"), SETTINGS_EDITOR_CONFIG_FOLDER);
66576657
}

0 commit comments

Comments
 (0)