From 7157e876ca9404e2da19a0834dd37fc83d06925b Mon Sep 17 00:00:00 2001 From: Gochim <54093496+Gochim@users.noreply.github.com> Date: Wed, 30 Oct 2019 11:46:03 +0200 Subject: [PATCH] Fixed issue with mainFrame after merging --- gui/mainFrame.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gui/mainFrame.py b/gui/mainFrame.py index dd748ea11..05744a504 100644 --- a/gui/mainFrame.py +++ b/gui/mainFrame.py @@ -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()