Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PySide segfaults immediately on Linux #1404

Merged
merged 1 commit into from Oct 16, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/matplotlib/backends/backend_qt4.py
Expand Up @@ -603,8 +603,7 @@ def set_message( self, s ):

def set_cursor( self, cursor ):
if DEBUG: print('Set cursor' , cursor)
QtGui.QApplication.restoreOverrideCursor()
QtGui.QApplication.setOverrideCursor( QtGui.QCursor( cursord[cursor] ) )
self.canvas.manager.window.setCursor(cursord[cursor])

def draw_rubberband( self, event, x0, y0, x1, y1 ):
height = self.canvas.figure.bbox.height
Expand Down