##// END OF EJS Templates
Disable part of #1150 that was crashing the console on ubuntu with qt 4.8.5.
Fernando Perez -
Show More
@@ -368,7 +368,13 b' class ConsoleWidget(LoggingConfigurable, QtGui.QWidget):'
368 # problem of tearing of the pager window's help text on Mac OS X. This
368 # problem of tearing of the pager window's help text on Mac OS X. This
369 # happens with PySide and PyQt. This fix isn't perfect but makes the
369 # happens with PySide and PyQt. This fix isn't perfect but makes the
370 # pager more usable.
370 # pager more usable.
371 elif etype in [QtCore.QEvent.Wheel, QtCore.QEvent.NativeGesture] and \
371
372 # FIXME: this line, on qt 4.8.5, crashes b/c NativeGesture is not
373 # available. Disabling for now, until we sort out a cleaner solution.
374 # See https://github.com/ipython/ipython/pull/1150 for details.
375 #elif etype in [QtCore.QEvent.Wheel, QtCore.QEvent.NativeGesture] and \
376
377 elif etype == QtCore.QEvent.Wheel and \
372 obj == self._page_control:
378 obj == self._page_control:
373 self._page_control.repaint()
379 self._page_control.repaint()
374 return True
380 return True
General Comments 0
You need to be logged in to leave comments. Login now