1185 .setData(videoUrl) |
1185 .setData(videoUrl) |
1186 |
1186 |
1187 if element.tagName().lower() in ["input", "textarea"]: |
1187 if element.tagName().lower() in ["input", "textarea"]: |
1188 if menu.isEmpty(): |
1188 if menu.isEmpty(): |
1189 pageMenu = self.page().createStandardContextMenu() |
1189 pageMenu = self.page().createStandardContextMenu() |
1190 directionFound = False # used to detect double |
1190 directionFound = False |
1191 # direction entry |
1191 # used to detect double direction entry |
1192 for act in pageMenu.actions(): |
1192 for act in pageMenu.actions(): |
1193 if act.isSeparator(): |
1193 if act.isSeparator(): |
1194 menu.addSeparator() |
1194 menu.addSeparator() |
1195 continue |
1195 continue |
1196 if act.menu(): |
1196 if act.menu(): |