mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Adjust main window title
This commit is contained in:
parent
9eb2b6e006
commit
7a92fa773f
@ -357,9 +357,9 @@ class QLiberationWindow(QMainWindow):
|
|||||||
|
|
||||||
def updateWindowTitle(self, save_path: Optional[str] = None) -> None:
|
def updateWindowTitle(self, save_path: Optional[str] = None) -> None:
|
||||||
"""
|
"""
|
||||||
to DCS Liberation - vX.X.X - file_name
|
to DCS Retribution - vX.X.X - file_name
|
||||||
"""
|
"""
|
||||||
window_title = f"DCS Liberation - v{VERSION}"
|
window_title = f"DCS Retribution - v{VERSION}"
|
||||||
if save_path: # appending the file name to title as it is updated
|
if save_path: # appending the file name to title as it is updated
|
||||||
file_name = save_path.split("/")[-1].split(".liberation")[0]
|
file_name = save_path.split("/")[-1].split(".liberation")[0]
|
||||||
window_title = f"{window_title} - {file_name}"
|
window_title = f"{window_title} - {file_name}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user