From fe074c5c3be291eca4e7a914455c658e2a85013c Mon Sep 17 00:00:00 2001 From: Wiktor Mazur Date: Sat, 14 Mar 2020 12:44:21 +0100 Subject: [PATCH] GUI: fixed player stats formatting --- application/src/gui/modules/views/player_stats.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/src/gui/modules/views/player_stats.py b/application/src/gui/modules/views/player_stats.py index f885379..46d8a74 100644 --- a/application/src/gui/modules/views/player_stats.py +++ b/application/src/gui/modules/views/player_stats.py @@ -4,16 +4,16 @@ from PySide2.QtWidgets import QLabel from PySide2 import QtGui from PySide2 import QtCore -from ....utils import assets -from ....stats.list_item import PlayerListItem -from .... import engine +from src.utils import assets, number +from src.stats.list_item import PlayerListItem +from src import engine class PlayerStats(QLabel): def __init__(self): QLabel.__init__(self) - self.update(0, 0.0, 0.0) + self.update(0, number.Number(0.0), number.Number(0.0)) def update(self, elapsed, fame, fame_per_hour): if engine.is_ready():