chore: clear typehinting errors

This commit is contained in:
aclist committed 2026-05-12 15:58:09 +09:00
1 parent 2e5860650f
commit e52664cf9b
11 files changed
+35 -29

No files matched your search

+1 -2
View File
@@ -30,8 +30,7 @@ class NoteDialog(GenericDialog):
delete_button = Gtk.Button(label="Delete note")
delete_button.set_sensitive(False)
self.add_action_widget(delete_button, Gtk.ResponseType.CANCEL)
self.add_button("Update note", Gtk.ResponseType.OK)
self.ok = self.get_widget_for_response(Gtk.ResponseType.OK)
self.ok = self.add_button("Update note", Gtk.ResponseType.OK)
self.ok.grab_default()
self.entry = ValidatedEntry(controller, self.validate)