Skip to content
Browse files

Disable part of #1150 that was crashing the console on ubuntu with qt…

… 4.8.5.
  • Loading branch information...
1 parent f1b5a04 commit 12676e5b9f93441ca5a29053e3ee077268dc40b0 @fperez fperez committed Dec 13, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 IPython/frontend/qt/console/console_widget.py
View
8 IPython/frontend/qt/console/console_widget.py
@@ -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

0 comments on commit 12676e5

Please sign in to comment.
Something went wrong with that request. Please try again.