eric7/EricGraphics/EricArrowItem.py

branch
eric7
changeset 8720
336f594ff5dd
parent 8375
057f17f82bee
child 8881
54e42bc2437a
diff -r 6b316898a2ac -r 336f594ff5dd eric7/EricGraphics/EricArrowItem.py
--- a/eric7/EricGraphics/EricArrowItem.py	Mon Oct 25 17:47:08 2021 +0200
+++ b/eric7/EricGraphics/EricArrowItem.py	Mon Oct 25 17:57:51 2021 +0200
@@ -124,7 +124,7 @@
         """
         width = 2 if (
             (option.state & QStyle.StateFlag.State_Selected) ==
-            QStyle.State(QStyle.StateFlag.State_Selected)
+            QStyle.StateFlag.State_Selected
         ) else 1
         
         # draw the line first

eric ide

mercurial