open files after the window has been opened

this way we can update the window title
This commit is contained in:
2021-10-30 09:55:57 +02:00
parent f8483c242d
commit 5b95c328d5
2 changed files with 13 additions and 8 deletions

View File

@@ -8,5 +8,9 @@ class RavenUI():
@staticmethod
def update_window_title(title: str):
if RavenUI.window:
if not RavenUI.window:
return
if len(title) > 0:
RavenUI.window.setWindowTitle("%s - RavenLog" % title)
else:
RavenUI.window.setWindowTitle("RavenLog")