Show More
@@ -7,6 +7,7 b' import time' | |||
|
7 | 7 | |
|
8 | 8 | # System library imports |
|
9 | 9 | from pygments.lexers import PythonLexer |
|
10 | from IPython.external import qt | |
|
10 | 11 | from IPython.external.qt import QtCore, QtGui |
|
11 | 12 | |
|
12 | 13 | # Local imports |
@@ -118,6 +119,11 b' class FrontendWidget(HistoryConsoleWidget, BaseFrontendMixin):' | |||
|
118 | 119 | |
|
119 | 120 | def __init__(self, *args, **kw): |
|
120 | 121 | super(FrontendWidget, self).__init__(*args, **kw) |
|
122 | # forcefully disable calltips if PySide is < 1.0.7, because they crash | |
|
123 | if qt.QT_API == qt.QT_API_PYSIDE: | |
|
124 | import PySide | |
|
125 | if PySide.__version_info__ < (1,0,7): | |
|
126 | self.enable_calltips = False | |
|
121 | 127 | |
|
122 | 128 | # FrontendWidget protected variables. |
|
123 | 129 | self._bracket_matcher = BracketMatcher(self._control) |
General Comments 0
You need to be logged in to leave comments.
Login now