You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix right click crash in Locales Filter
This commit is contained in:
@@ -1310,7 +1310,7 @@ void ProjectSettingsEditor::_translation_res_option_delete(Object *p_item, int p
|
|||||||
void ProjectSettingsEditor::_translation_filter_option_changed() {
|
void ProjectSettingsEditor::_translation_filter_option_changed() {
|
||||||
|
|
||||||
int sel_id = translation_locale_filter_mode->get_selected_id();
|
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);
|
String locale = t->get_tooltip(0);
|
||||||
bool checked = t->is_checked(0);
|
bool checked = t->is_checked(0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user