mirror of
https://github.com/Relintai/godot_translation_editor.git
synced 2025-02-10 14:20:09 +01:00
Clear results from the extraction dialog when it opens
This commit is contained in:
parent
dc763e93df
commit
fe78fa7695
@ -34,11 +34,13 @@ func _notification(what: int):
|
||||
if visible:
|
||||
_summary_label.text = ""
|
||||
_results.clear()
|
||||
_results_list.clear()
|
||||
_update_import_button()
|
||||
|
||||
|
||||
func _update_import_button():
|
||||
_import_button.disabled = (_results == null or len(_results) == 0)
|
||||
# Can only import if there are results to import
|
||||
_import_button.disabled = (len(_results) == 0)
|
||||
|
||||
|
||||
func _on_ExtractButton_pressed():
|
||||
|
Loading…
Reference in New Issue
Block a user