Axis: don't need to switch to Auto to load a program
Task allows Open in Manual mode now. It's Run that needs Auto, and Axis does that switch as needed. Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
This commit is contained in:
parent
27a67cdce8
commit
ad06db2cec
1 changed files with 0 additions and 1 deletions
|
|
@ -1093,7 +1093,6 @@ def open_file_guts(f, filtered=False, addrecent=True):
|
||||||
# Force a sync of the interpreter, which writes out the var file.
|
# Force a sync of the interpreter, which writes out the var file.
|
||||||
c.task_plan_synch()
|
c.task_plan_synch()
|
||||||
c.wait_complete()
|
c.wait_complete()
|
||||||
ensure_mode(linuxcnc.MODE_AUTO)
|
|
||||||
c.program_open(f)
|
c.program_open(f)
|
||||||
lines = open(f).readlines()
|
lines = open(f).readlines()
|
||||||
progress = Progress(2, len(lines))
|
progress = Progress(2, len(lines))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue