This commit addresses the issue where the application crashes when saving the workspace (Ctrl+S) due to an unhandled exception related to the missing 'z_order' attribute in the GUIContainer class. The following changes were made:
Added 'z_order' attribute initialization in the GUIContainer class.
Updated the JSON serialization and deserialization methods to include the 'z_order' attribute.
Set a default value for 'z_order' during the instantiation of GUIContainer.
These changes ensure that the 'z_order' attribute is properly handled, preventing the crash when saving the workspace.
This commit addresses the issue where the application crashes when saving the workspace (Ctrl+S) due to an unhandled exception related to the missing 'z_order' attribute in the GUIContainer class. The following changes were made:
These changes ensure that the 'z_order' attribute is properly handled, preventing the crash when saving the workspace.
Closes #95