chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the proper button read api.
[cura.git]
/
Cura
/
gui
/
util
/
openglGui.py
diff --git
a/Cura/gui/util/openglGui.py
b/Cura/gui/util/openglGui.py
index f4fd3707e3aae322b198ceb56b9377fa93c6e6e4..9a945f027905e5aa2e3566330ba77899db235a85 100644
(file)
--- a/
Cura/gui/util/openglGui.py
+++ b/
Cura/gui/util/openglGui.py
@@
-145,7
+145,7
@@
class glGuiPanel(glcanvas.GLCanvas):
def _OnGuiMouseDown(self,e):
self.SetFocus()
- if self._container.OnMouseDown(e.GetX(), e.GetY(), e.
Button
):
+ if self._container.OnMouseDown(e.GetX(), e.GetY(), e.
GetButton()
):
self.Refresh()
return
self.OnMouseDown(e)