chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c8c4f
)
Workaround for #160, as on MacOS you seem to be able to press the jog buttons during...
author
daid
<daid303@gmail.com>
Thu, 19 Jul 2012 12:38:31 +0000
(14:38 +0200)
committer
daid
<daid303@gmail.com>
Thu, 19 Jul 2012 12:38:31 +0000
(14:38 +0200)
Cura/gui/printWindow.py
patch
|
blob
|
history
diff --git
a/Cura/gui/printWindow.py
b/Cura/gui/printWindow.py
index 828981952af5fa6530494ccdaaa1454fcfe2f9c4..274d6bff12f7ce91252629b67340337b1705cf3c 100644
(file)
--- a/
Cura/gui/printWindow.py
+++ b/
Cura/gui/printWindow.py
@@
-68,6
+68,8
@@
class PrintCommandButton(buttons.GenBitmapButton):
self.Bind(wx.EVT_BUTTON, self.OnClick)
\r
\r
def OnClick(self, e):
\r
+ if self.parent.printIdx != None:
\r
+ return;
\r
self.parent.sendCommand("G91")
\r
self.parent.sendCommand(self.command)
\r
self.parent.sendCommand("G90")
\r