Remove old flag based HAS_FOCUS usage from unused method of terminator class
This commit is contained in:
commit
ba66f8e2d2
|
@ -462,7 +462,7 @@ class Terminator(Borg):
|
|||
def get_focussed_terminal(self):
|
||||
"""iterate over all the terminals to find which, if any, has focus"""
|
||||
for terminal in self.terminals:
|
||||
if terminal.flags()&Gtk.HAS_FOCUS:
|
||||
if terminal.has_focus():
|
||||
return(terminal)
|
||||
return(None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue