eric7/Testing/TestResultsTree.py

branch
eric7
changeset 9160
1675c039a568
parent 9066
a219ade50f7c
child 9192
a763d57e23bc
--- a/eric7/Testing/TestResultsTree.py	Mon Jun 20 09:47:00 2022 +0200
+++ b/eric7/Testing/TestResultsTree.py	Mon Jun 20 11:04:28 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