Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
25d666a1
Commit
25d666a1
authored
Nov 15, 2013
by
luke
Browse files
Avoid calling QGraphicsWidget.itemChange--this causes segfault in python3 + pyqt
Fixes #10
parent
e84c0d7a
Changes
1
Show whitespace changes
Inline
Side-by-side
pyqtgraph/graphicsItems/ViewBox/ViewBox.py
View file @
25d666a1
...
...
@@ -201,7 +201,8 @@ class ViewBox(GraphicsWidget):
return
interface
==
'ViewBox'
def
itemChange
(
self
,
change
,
value
):
ret
=
GraphicsWidget
.
itemChange
(
self
,
change
,
value
)
# Note: Calling QWidget.itemChange causes segv in python 3 + PyQt
ret
=
QtGui
.
QGraphicsItem
.
itemChange
(
self
,
change
,
value
)
if
change
==
self
.
ItemSceneChange
:
scene
=
self
.
scene
()
if
scene
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment