Skip to content

Commit

Permalink
Merge pull request #17329 from fumitoh/fix_pyside_error
Browse files Browse the repository at this point in the history
PR: Fix DataFrameView error with PySide2
  • Loading branch information
ccordoba12 committed Feb 12, 2022
2 parents 56ef895 + 03a2a43 commit 8b76f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spyder/plugins/variableexplorer/widgets/dataframeeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,8 @@ def __init__(self, parent, model, header, hscroll, vscroll):
self.setModel(model)
self.setHorizontalScrollBar(hscroll)
self.setVerticalScrollBar(vscroll)
self.setHorizontalScrollMode(1)
self.setVerticalScrollMode(1)
self.setHorizontalScrollMode(QTableView.ScrollPerPixel)
self.setVerticalScrollMode(QTableView.ScrollPerPixel)

self.sort_old = [None]
self.header_class = header
Expand Down

0 comments on commit 8b76f9b

Please sign in to comment.