mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix bug with file name in title with invalid save games.
This commit is contained in:
parent
8c71be5257
commit
814519248c
@ -71,7 +71,7 @@ class QLiberationWindow(QMainWindow):
|
||||
logging.info("Loading last saved game : " + str(last_save_file))
|
||||
game = persistency.load_game(last_save_file)
|
||||
self.onGameGenerated(game)
|
||||
self.updateWindowTitle(last_save_file)
|
||||
self.updateWindowTitle(last_save_file if game else None)
|
||||
except:
|
||||
logging.info("Error loading latest save game")
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user