Commit 1df755e8 authored by Guillaume Seguin's avatar Guillaume Seguin

Woops fix that cancelprint and ensure we're paused first

parent 5e02f686
......@@ -371,9 +371,10 @@ class printcore():
return True
def cancelprint(self):
self.pause()
self.paused = False
self.mainqueue = None
self.p.clear = True
self.clear = True
# run a simple script if it exists, no multithreading
def runSmallScript(self, filename):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment