diff --git a/src/warchron/controller/controller.py b/src/warchron/controller/controller.py index 734f84d..e7ba6a4 100644 --- a/src/warchron/controller/controller.py +++ b/src/warchron/controller/controller.py @@ -13,6 +13,7 @@ class Controller: self.is_dirty = False self.__connect() self.refresh_players_view() + self.update_window_title() def __connect(self): self.view.addPlayerBtn.clicked.connect(self.add_player) @@ -96,8 +97,10 @@ class Controller: base = "WarChron" if self.current_file: base += f" - {self.current_file.name}" + else: + base += f" - New file" if self.is_dirty: - base = "*" + base + base = base + " *" self.view.setWindowTitle(base)