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

Importing tactical dessy breaks context menu #225

Closed
blitzmann opened this issue Dec 11, 2014 · 0 comments
Closed

Importing tactical dessy breaks context menu #225

blitzmann opened this issue Dec 11, 2014 · 0 comments

Comments

@blitzmann
Copy link
Collaborator

Confirmed reproduction.

Paste in EFT of confessor. It loads correctly. However:

Traceback (most recent call last):
  File "C:\Users\Ryan\Dropbox\WinPython-32bit-2.7.6.2\python-2.7.6\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14669, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "C:\Users\Ryan\Dropbox\Git\blitzmann\Pyfa\gui\builtinViews\fittingView.py", line 494, in spawnMenu
    menu = ContextMenu.getMenu(selection, *contexts)
  File "C:\Users\Ryan\Dropbox\Git\blitzmann\Pyfa\gui\contextMenu.py", line 75, in getMenu
    sub = m.getSubMenu(srcContext, selection, rootMenu, it, rootItem)
  File "C:\Users\Ryan\Dropbox\Git\blitzmann\Pyfa\gui\builtinContextMenus\tacticalMode.py", line 45, in getSubMenu
    menuItem.Check(self.currMode.item == mode.item)
AttributeError: 'NoneType' object has no attribute 'item'

Does not resolve when fit is closed, but is resolved when pyfa is restarted.

Is the mode not set when the new fit is created? This might also be the cause of the other issues mentioned in https://forums.eveonline.com/default.aspx?g=posts&m=5292009#post5292009

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant