summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-20 23:17:47 +0200
committerGitHub <noreply@github.com>2019-09-20 23:17:47 +0200
commitb6bcc143adf8108c45bb29c4f399c449080b04b0 (patch)
tree0f99e1a6ca3a2355aff93adc61218cfdc42a10c9
parent769a9c521a7ef9d005d68ba145cb79a21d4cc267 (diff)
parentd9b34d2a3dff4ef8152d1809a8dec778f866e6c4 (diff)
Merge pull request #32079 from lupoDharkael/locale-crash
Fix right click crash in Locales Filter
-rw-r--r--editor/project_settings_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index a0d2332ffc..f1e9420799 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -1310,7 +1310,7 @@ void ProjectSettingsEditor::_translation_res_option_delete(Object *p_item, int p
void ProjectSettingsEditor::_translation_filter_option_changed() {
int sel_id = translation_locale_filter_mode->get_selected_id();
- TreeItem *t = translation_filter->get_selected();
+ TreeItem *t = translation_filter->get_edited();
String locale = t->get_tooltip(0);
bool checked = t->is_checked(0);