Swap project name and app name in window title (#1910)

This commit is contained in:
Veronica Berglyd Olsen
2024-06-04 18:19:21 +02:00
parent 497d4dd7f9
commit 83d2cb4f82
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -1361,10 +1361,7 @@ class GuiMain(QMainWindow):
def _updateWindowTitle(self, projName: str | None = None) -> None:
"""Set the window title and add the project's name."""
winTitle = CONFIG.appName
if projName is not None:
winTitle += " - %s" % projName
self.setWindowTitle(winTitle)
self.setWindowTitle(" - ".join(filter(None, [projName, CONFIG.appName])))
return
def _getTagSource(self, tag: str) -> tuple[str | None, str | None]: