Merge pull request #887 from mattrose/fix-tb

fix traceback in layout_done
This commit is contained in:
Matt Rose 2024-02-18 10:30:29 -05:00 committed by GitHub
commit 66427862d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -331,7 +331,8 @@ class Terminator(Borg):
# For windows without a notebook ensure Terminal is visible and focused
if window_last_active_term_mapping[window]:
term = self.find_terminal_by_uuid(window_last_active_term_mapping[window].urn)
term.ensure_visible_and_focussed()
if term:
term.ensure_visible_and_focussed()
# Build list of new windows using prelayout list
new_win_list = []