mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-30 23:19:49 +00:00
Fix memory leak when previewing layouts in the ManageLayouts dialog
This commit is contained in:
parent
c4a4bd4602
commit
be7427fd9c
|
@ -127,6 +127,7 @@ func _on_DeleteConfirmation_confirmed() -> void:
|
|||
func refresh_preview() -> void:
|
||||
for tab in mimic_ui.get_tabs():
|
||||
mimic_ui.remove_child(tab)
|
||||
tab.queue_free()
|
||||
for item in Global.control.main_ui.get_tabs():
|
||||
var box := TextEdit.new()
|
||||
box.name = item.name
|
||||
|
|
Loading…
Reference in a new issue