Skip to content

Commit 670c000

Browse files
committed
qt_action -add wait complete to RESTORE_RECORDED_MODE()
otherwise sometimes the mode wouldn't change back
1 parent 9985463 commit 670c000

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/python/qtvcp/qt_action.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def RECORD_CURRENT_MODE(self):
587587
return mode
588588

589589
def RESTORE_RECORDED_MODE(self):
590+
self.cmd.wait_complete()
590591
self.ensure_mode(self.last_mode)
591592

592593
def SET_SELECTED_JOINT(self, data):

0 commit comments

Comments
 (0)