diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-04 00:03:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-04 00:03:38 +0100 |
commit | 34c71157f0f15a783ed27bcd3b0346a58e466575 (patch) | |
tree | 7368c31217c016e06434d86ce96cc742e84d168e | |
parent | 94658de1ffab02ad2eacbadf44f86c3654e3afcb (diff) | |
parent | 51c601d2e3e864364552656dba04d0c9cfc382f3 (diff) |
Merge pull request #34795 from dankan1890/mono_cs_icon
[Mono]: the C# script icon is now visible in the editor.
-rw-r--r-- | editor/script_create_dialog.cpp | 2 | ||||
-rw-r--r-- | modules/mono/icons/icon_c_sharp_script.svg (renamed from modules/mono/icons/icon_c_#.svg) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index 4c36e15eb4..e1f9ed497c 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -46,7 +46,7 @@ void ScriptCreateDialog::_notification(int p_what) { case NOTIFICATION_THEME_CHANGED: case NOTIFICATION_ENTER_TREE: { for (int i = 0; i < ScriptServer::get_language_count(); i++) { - String lang = ScriptServer::get_language(i)->get_name(); + String lang = ScriptServer::get_language(i)->get_type(); Ref<Texture> lang_icon = get_icon(lang, "EditorIcons"); if (lang_icon.is_valid()) { language_menu->set_item_icon(i, lang_icon); diff --git a/modules/mono/icons/icon_c_#.svg b/modules/mono/icons/icon_c_sharp_script.svg index 69664ca553..69664ca553 100644 --- a/modules/mono/icons/icon_c_#.svg +++ b/modules/mono/icons/icon_c_sharp_script.svg |