Skip to content

Commit

Permalink
Disable part of #1150 that was crashing the console on ubuntu with qt…
Browse files Browse the repository at this point in the history
… 4.8.5.
  • Loading branch information
fperez committed Dec 14, 2011
1 parent f1b5a04 commit 12676e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion IPython/frontend/qt/console/console_widget.py
Expand Up @@ -368,7 +368,13 @@ def eventFilter(self, obj, event):
# problem of tearing of the pager window's help text on Mac OS X. This
# happens with PySide and PyQt. This fix isn't perfect but makes the
# pager more usable.
elif etype in [QtCore.QEvent.Wheel, QtCore.QEvent.NativeGesture] and \

# FIXME: this line, on qt 4.8.5, crashes b/c NativeGesture is not
# available. Disabling for now, until we sort out a cleaner solution.
# See https://github.com/ipython/ipython/pull/1150 for details.
#elif etype in [QtCore.QEvent.Wheel, QtCore.QEvent.NativeGesture] and \

elif etype == QtCore.QEvent.Wheel and \
obj == self._page_control:
self._page_control.repaint()
return True
Expand Down

0 comments on commit 12676e5

Please sign in to comment.