diff options
| author | Rémi Verschelde | 2017-11-17 21:48:24 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-19 20:54:26 +0100 |
| commit | 6e3f2f44af808e9f4255c2462e16beee844c0df7 (patch) | |
| tree | bf2fa3600bbd29cd54c40fdc3fee85ce45903e96 /editor/plugins/script_editor_plugin.cpp | |
| parent | 32c12a92a5633678921ee9e43f72eb3b59a635ed (diff) | |
| download | godot-6e3f2f44af808e9f4255c2462e16beee844c0df7.tar.gz godot-6e3f2f44af808e9f4255c2462e16beee844c0df7.tar.zst godot-6e3f2f44af808e9f4255c2462e16beee844c0df7.zip | |
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index cf36fb55c..f3d54fbaf 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -855,7 +855,7 @@ void ScriptEditor::_menu_option(int p_option) { file_dialog_option = FILE_SAVE_THEME_AS; file_dialog->clear_filters(); file_dialog->add_filter("*.tet"); - file_dialog->set_current_path(EditorSettings::get_singleton()->get_settings_dir() + "/text_editor_themes/" + EditorSettings::get_singleton()->get("text_editor/theme/color_theme")); + file_dialog->set_current_path(EditorSettings::get_singleton()->get_text_editor_themes_dir().plus_file(EditorSettings::get_singleton()->get("text_editor/theme/color_theme"))); file_dialog->popup_centered_ratio(); file_dialog->set_title(TTR("Save Theme As..")); } break; |
