Merge pull request #887 from mattrose/fix-tb
fix traceback in layout_done
This commit is contained in:
commit
66427862d6
@ -331,6 +331,7 @@ class Terminator(Borg):
|
|||||||
# For windows without a notebook ensure Terminal is visible and focused
|
# For windows without a notebook ensure Terminal is visible and focused
|
||||||
if window_last_active_term_mapping[window]:
|
if window_last_active_term_mapping[window]:
|
||||||
term = self.find_terminal_by_uuid(window_last_active_term_mapping[window].urn)
|
term = self.find_terminal_by_uuid(window_last_active_term_mapping[window].urn)
|
||||||
|
if term:
|
||||||
term.ensure_visible_and_focussed()
|
term.ensure_visible_and_focussed()
|
||||||
|
|
||||||
# Build list of new windows using prelayout list
|
# Build list of new windows using prelayout list
|
||||||
|
Loading…
Reference in New Issue
Block a user