diff -r aa713ac50c0d -r cc717c2ae956 eric6/Graphics/UMLItem.py --- a/eric6/Graphics/UMLItem.py Thu Apr 15 16:52:05 2021 +0200 +++ b/eric6/Graphics/UMLItem.py Thu Apr 15 18:11:24 2021 +0200 @@ -84,12 +84,8 @@ self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsMovable, True) self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsSelectable, True) - try: - self.setFlag( - QGraphicsItem.GraphicsItemFlag.ItemSendsGeometryChanges, True) - except AttributeError: - # only available for Qt 4.6.0 and newer - pass + self.setFlag( + QGraphicsItem.GraphicsItemFlag.ItemSendsGeometryChanges, True) def getName(self): """