Merge pull request #32079 from lupoDharkael/locale-crash

Fix right click crash in Locales Filter
This commit is contained in:
Rémi Verschelde 2019-09-20 23:17:47 +02:00 committed by GitHub
commit b6bcc143ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);