Fixed editor settings disappearing.

Some items that are no longer defined may disappear, but thats expected i guess.
This commit is contained in:
Daniel J. Ramirez
2017-11-09 22:10:48 -06:00
parent 0de6cba7e7
commit c57fc8ee7d
4 changed files with 28 additions and 16 deletions
+1 -3
View File
@@ -221,9 +221,7 @@ GodotSharpEditor::GodotSharpEditor(EditorNode *p_editor) {
// External editor settings
EditorSettings *ed_settings = EditorSettings::get_singleton();
if (!ed_settings->has_setting("mono/editor/external_editor")) {
ed_settings->set_setting("mono/editor/external_editor", EDITOR_NONE);
}
EDITOR_DEF("mono/editor/external_editor", EDITOR_NONE);
ed_settings->add_property_hint(PropertyInfo(Variant::INT, "mono/editor/external_editor", PROPERTY_HINT_ENUM, "None,MonoDevelop,Visual Studio Code"));
}