Fix return type

This commit is contained in:
Lars Rustand 2025-01-06 19:32:31 +01:00
parent 16b2b375a5
commit f1a97218a8
No known key found for this signature in database
GPG Key ID: 022B5FFE7AEEF619
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class WindowAccessHistory():
except ValueError:
pass
def last(self) -> 'mainwindow.MainWindow':
def last(self) -> Optional['mainwindow.MainWindow']:
"""Return the last window from the access history.
Prune any None values and windows that are shutting down and