fix: clear typehinting errors

This commit is contained in:
aclist committed 2026-08-20 13:59:46 +09:00
1 parent ddc18e5705
commit 97ddbcdf0a
1 file changed
+2 -2
+2 -2
View File
@@ -252,10 +252,10 @@ class ExceptionDialog(GenericDialog):
self.connect("response", self._on_response) self.connect("response", self._on_response)
def _on_page_changed( def _on_page_changed(
self, notebook: Gtk.Notebook, child: Gtk.Widget, index: int self, notebook: Gtk.Notebook, child: Gtk.Box | Gtk.ScrolledWindow, index: int
) -> None: ) -> None:
if child == self.error_details: if child == self.error_details:
child.set_propagate_natural_height(True) self.error_details.set_propagate_natural_height(True)
else: else:
self.error_details.set_propagate_natural_height(False) self.error_details.set_propagate_natural_height(False)