Skip to content

Commit f31589b

Browse files
committed
fix: remove redundant widget update guard
1 parent 1fa9e9e commit f31589b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11916,10 +11916,7 @@ def remove_rotation(self):
1191611916
if r.is_empty or r.is_infinite:
1191711917
continue
1191811918
widget.rect = r
11919-
try:
11920-
widget.update()
11921-
except ValueError:
11922-
pass
11919+
widget.update()
1192311920
return rot # the inverse of the generated derotation matrix
1192411921

1192511922
def cluster_drawings(

0 commit comments

Comments
 (0)