Skip to content

Commit

Permalink
Fix crop on PyQt6
Browse files Browse the repository at this point in the history
Missing an enum declaration.
  • Loading branch information
karlch committed Nov 27, 2023
1 parent c996fa9 commit e8e0a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimiv/gui/resize.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, parent, *, vertical: bool):

@property
def vertical(self):
return self._override_cursor == Qt.SizeVerCursor
return self._override_cursor == Qt.CursorShape.SizeVerCursor

def mousePressEvent(self, event):
"""Constrain one axis when pressing the mouse."""
Expand Down

0 comments on commit e8e0a8d

Please sign in to comment.