INNER CODE UNIT · Python
mouseClicked
Teycir/BurpAPISecuritySuite · BurpAPISecuritySuite.py:1031
def mouseClicked(self, event):
if event is None or event.isPopupTrigger():
return
endpoint_list = event.getSource()
index = endpoint_list.locationToIndex(event.getPoint())
if index >= 0:
try:
if not endpoint_list.isSelectedIndex(index):
endpoint_list.setSelectedIndex(index)
except Exception as selection_err:
self.extender._callbacks.printError(
"Recon click selection sync error: {}".format(str(selection_err))
)
endpoint_list.setSelectedIndex(index)
def mousePressed(self, event):
self._show_popup(event)