Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
proneon267 committed Jan 26, 2025
1 parent bf8b9ed commit 857ff3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dummy/src/toga_dummy/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def get_size(self) -> Size:
def set_size(self, size):
if self.get_size() != size:
self._set_value("size", size)
self.interface.on_resize()
if self._get_value("size", None) is not None:
self.interface.on_resize()

######################################################################
# Window position
Expand Down

0 comments on commit 857ff3e

Please sign in to comment.