ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
11 stars 5 forks source link

Review page dirty checking #942

Open jw3 opened 9 months ago

jw3 commented 9 months ago

Review the introspection used to check _unsaved_changes and consider alternatives.

if hasattr(self.__page, "_unsaved_changes") and self.__page._unsaved_changes:

~ main_window.py", line 180

941

940

921

https://github.com/ctc-oss/fapolicy-analyzer/discussions/916#discussioncomment-7445053