mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Replace deprecated set_focus_chain() call
This commit is contained in:
parent
7da8367a83
commit
ec8fe1ac5e
1 changed files with 2 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue