Commit aef3493a authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Fix using context submenu items for Mac

Change-Id: I9ab351777f0bae7d15173d0c6cf5eb2f7f719810
Reviewed-by: default avatarRobert Loehning <>
parent 139c7613
......@@ -274,8 +274,8 @@ def invokeContextMenuItem(editorArea, command1, command2 = None):
ctxtMenu = openContextMenuOnTextCursorPosition(editorArea)
activateItem(waitForObjectItem(objectMap.realName(ctxtMenu), command1, 2000))
if command2:
activateItem(waitForObjectItem("{type='QMenu' visible='1' window=%s}"
% objectMap.realName(ctxtMenu), command2, 2000))
activateItem(waitForObjectItem("{title='%s' type='QMenu' visible='1' window=%s}"
% (command1, objectMap.realName(ctxtMenu)), command2, 2000))
# this function invokes the "Find Usages" item from context menu
# param editor an editor object
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