diff --git a/addons/ui_window/ui_window.gd b/addons/ui_window/ui_window.gd index cae1cce..925e1dd 100644 --- a/addons/ui_window/ui_window.gd +++ b/addons/ui_window/ui_window.gd @@ -421,7 +421,7 @@ func load_from_file( config_file ): func save_to_file( config_file ): - var is_open = $VBoxContainer/Content.visible + var is_open = content_box.visible config_file.set_value(self.name, "position", self.rect_position)