Skip to content

Commit d61d70e

Browse files
committed
Fix Open Editor Data/Settings Folder menu in self-contained mode
1 parent 2dd26a0 commit d61d70e

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
@@ -8224,11 +8224,11 @@ EditorNode::EditorNode() {
82248224
settings_menu->add_separator();
82258225

82268226
#ifndef ANDROID_ENABLED
8227-
if (OS::get_singleton()->get_data_path() == OS::get_singleton()->get_config_path()) {
8228-
// Configuration and data folders are located in the same place (Windows/macOS).
8227+
if (EditorPaths::get_singleton()->get_data_dir() == EditorPaths::get_singleton()->get_config_dir()) {
8228+
// Configuration and data folders are located in the same place.
82298229
settings_menu->add_item(TTRC("Open Editor Data/Settings Folder"), EDITOR_OPEN_DATA_FOLDER);
82308230
} else {
8231-
// Separate configuration and data folders (Linux).
8231+
// Separate configuration and data folders.
82328232
settings_menu->add_item(TTRC("Open Editor Data Folder"), EDITOR_OPEN_DATA_FOLDER);
82338233
settings_menu->add_item(TTRC("Open Editor Settings Folder"), EDITOR_OPEN_CONFIG_FOLDER);
82348234
}

0 commit comments

Comments
 (0)