set window title to file name

This commit is contained in:
2021-10-29 09:32:08 +02:00
parent bc8f9b006d
commit 99d9be795b
2 changed files with 14 additions and 0 deletions

View File

@@ -5,3 +5,8 @@ class RavenUI():
@staticmethod
def update_ui():
RavenUI.window.update()
@staticmethod
def update_window_title(title: str):
if RavenUI.window:
RavenUI.window.setWindowTitle("%s - RavenLog" % title)