What's Changed
Bug Fix: Widgets Not Resizing After Showing Alert Window
Issue:
- After displaying the alert window, widgets in the main master window were not resizing correctly because the event bind for master was overridden by the alert window.
Root Cause:
- The alert window temporarily binds the event for master to its own move method. However, once the alert window is closed, the original event handler for master was not being restored, causing a loss of the intended behavior in the main window.
Solution:
- Introduced a parameter to pass the original handler (original_configure_callback) to the alert window. Upon closing the alert window, the original bind is restored to master.
Changes Made:
- Added a parameter (original_configure_callback) to the alert window's constructor to store the original event handler.
- When closing the alert window (on_closing method), the original handler is re-bound to master using the stored original_configure_callback.
Full Changelog: v2.0.2...v2.0.3