eric7/Testing/TestResultsTree.py

branch
eric7-maintenance
changeset 9192
a763d57e23bc
parent 9131
bc0c1b6d6adb
parent 9160
1675c039a568
--- a/eric7/Testing/TestResultsTree.py	Mon Jun 06 16:34:37 2022 +0200
+++ b/eric7/Testing/TestResultsTree.py	Fri Jul 01 11:02:32 2022 +0200
@@ -154,7 +154,7 @@
                     return self.__backgroundColors[testResult.category]
         elif role == Qt.ItemDataRole.TextAlignmentRole:
             if idx == TopLevelId and column == TestResultsModel.DurationColumn:
-                return Qt.AlignmentFlag.AlignRight
+                return Qt.AlignmentFlag.AlignRight.value
         elif role == Qt.ItemDataRole.UserRole:      # __IGNORE_WARNING_Y102__
             if idx == TopLevelId:
                 testresult = self.__testResults[row]

eric ide

mercurial