Skip to content

Commit 28a4fbe

Browse files
committed
Fix AttributeError in DataFrameView.moveCursor
Fix #78
1 parent 4588301 commit 28a4fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guidata/widgets/dataframeeditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def moveCursor(self, cursor_action, modifiers):
608608
) + self.frozen_table_view.columnWidth(1)
609609
topleft_x = self.visualRect(current).topLeft().x()
610610

611-
overflow = self.MoveLeft and current.column() > 1
611+
overflow = cursor_action.MoveLeft and current.column() > 1
612612
overflow = overflow and topleft_x < col_width
613613

614614
if cursor_action == overflow:

0 commit comments

Comments
 (0)