Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right click tree-view index exception #315

Closed
stevemk14ebr opened this issue Sep 15, 2020 · 1 comment · Fixed by #316
Closed

Right click tree-view index exception #315

stevemk14ebr opened this issue Sep 15, 2020 · 1 comment · Fixed by #316
Assignees
Labels
bug Something isn't working

Comments

@stevemk14ebr
Copy link
Contributor

Right clicking in the capa-explorer in the grey area throws an invalid index exception as no UI element is selected:

Traceback (most recent call last):
  File "c:\users\steve\source\repos\capa\capa\ida\plugin\view.py", line 257, in slot_custom_context_menu_requested
    item = self.map_index_to_source_item(model_index)
  File "c:\users\steve\source\repos\capa\capa\ida\plugin\view.py", line 104, in map_index_to_source_item
    raise ValueError("invalid index")
ValueError: invalid index

This pollutes the output window.

@mike-hunhoff
Copy link
Collaborator

Thank you for reporting @stevemk14ebr! This is addressed in #316.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants