Skip to content

Commit 6a57188

Browse files
committed
gmoccapy -used new mode return INI MDI function
1 parent 4006ef4 commit 6a57188

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,10 +1368,8 @@ def request_macro_call(self, data):
13681368
cmd = self.INFO.get_ini_mdi_command(data)
13691369
print('MDI command:',data,cmd)
13701370
if not cmd is None:
1371-
self.ACTION.RECORD_CURRENT_MODE()
13721371
LOG.debug("INI MDI COMMAND #: {} = {}".format(data, cmd))
1373-
self.ACTION.CALL_INI_MDI(data)
1374-
self.ACTION.RESTORE_RECORDED_MODE()
1372+
self.ACTION.CALL_INI_MDI(data,mode_return = True)
13751373
return
13761374

13771375
# run Macros

0 commit comments

Comments
 (0)