Fixed issue with mainFrame after merging

This commit is contained in:
Gochim
2019-10-30 11:46:03 +02:00
parent 0cf88cf7ca
commit 7157e876ca

View File

@@ -81,8 +81,6 @@ except ImportError as e:
pyfalog.warning("Error loading Attribute Editor: %s.\nAccess to Attribute Editor is disabled." % e.message)
disableOverrideEditor = True
pyfalog = Logger(__name__)
pyfalog.debug("Done loading mainframe imports")
@@ -551,7 +549,6 @@ class MainFrame(wx.Frame):
# Clipboard exports
self.Bind(wx.EVT_MENU, self.exportToClipboard, id=wx.ID_COPY)
self.Bind(wx.EVT_MENU, self.exportFitStatsToClipboard, id=menuBar.fitStatsToClipboardId)
# Fitting Restrictions
self.Bind(wx.EVT_MENU, self.toggleIgnoreRestriction, id=menuBar.toggleIgnoreRestrictionID)
@@ -783,12 +780,6 @@ class MainFrame(wx.Frame):
with CopySelectDialog(self) as dlg:
dlg.ShowModal()
def exportFitStatsToClipboard(self, event):
""" Puts fit stats in textual format into the clipboard"""
fit = db_getFit(self.getActiveFit())
if fit:
toClipboard(statsExportText(fit))
def exportSkillsNeeded(self, event):
""" Exports skills needed for active fit and active character """
sCharacter = Character.getInstance()