We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52cbef commit 7032baaCopy full SHA for 7032baa
3 files changed
gui/mainFrame.py
@@ -45,7 +45,7 @@
45
from gui.statsPane import StatsPane
46
from gui.shipBrowser import ShipBrowser, FitSelected, ImportSelected, Stage3Selected
47
from gui.characterEditor import CharacterEditor, SaveCharacterAs
48
-from gui.crestFittings import CrestFittings, ExportToEve, CrestCharacterInfo, CrestMgmt
+from gui.crestFittings import CrestFittings, ExportToEve, CrestMgmt
49
from gui.characterSelection import CharacterSelection
50
from gui.patternEditor import DmgPatternEditorDlg
51
from gui.resistsEditor import ResistsEditorDlg
gui/mainMenuBar.py
@@ -120,6 +120,10 @@ def __init__(self):
120
crestMenu.Append(self.eveFittingsId, "Browse EVE Fittings")
121
crestMenu.Append(self.exportToEveId, "Export To EVE")
122
123
+ if self.sCrest.settings.get('mode') == 0 or len(self.sCrest.getCrestCharacters()) == 0:
124
+ self.Enable(self.eveFittingsId, False)
125
+ self.Enable(self.exportToEveId, False)
126
+
127
# Help menu
128
helpMenu = wx.Menu()
129
self.Append(helpMenu, "&Help")
@@ -155,7 +159,11 @@ def fitChanged(self, event):
155
159
def ssoLogin(self, type):
156
160
if self.sCrest.settings.get('mode') == 0:
157
161
self.SetLabel(self.ssoLoginId, "Logout Character")
162
+ self.Enable(self.eveFittingsId, True)
163
+ self.Enable(self.exportToEveId, True)
158
164
165
def ssoLogout(self, message):
166
167
self.SetLabel(self.ssoLoginId, "Login to EVE")
168
169
service/crest.py
@@ -4,6 +4,7 @@
4
import threading
5
import copy
6
import uuid
7
+import wx
8
9
from wx.lib.pubsub import pub
10
0 commit comments