Replace deprecated set_focus_chain() call

This commit is contained in:
dmiller 2026-04-09 21:28:32 +00:00
parent 7da8367a83
commit ec8fe1ac5e

View file

@ -122,7 +122,8 @@ class ScanToolbar(HIGHBox):
self._pack_noexpand_nofill(self.cancel_button)
# Skip over the dropdown arrow so you can tab to the profile entry.
self.target_entry.set_focus_chain((self.target_entry.get_child(),))
self.target_entry.get_child().connect('focus-out-event',
lambda w, e: self.profile_entry.grab_focus())
self.target_entry.get_child().connect('activate',
lambda x: self.profile_entry.grab_focus())