mirror of
https://github.com/Relintai/godot_translation_editor.git
synced 2025-02-14 22:30:06 +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:
|
if visible:
|
||||||
_summary_label.text = ""
|
_summary_label.text = ""
|
||||||
_results.clear()
|
_results.clear()
|
||||||
|
_results_list.clear()
|
||||||
_update_import_button()
|
_update_import_button()
|
||||||
|
|
||||||
|
|
||||||
func _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():
|
func _on_ExtractButton_pressed():
|
||||||
|
Loading…
Reference in New Issue
Block a user