From: daid Date: Thu, 29 Jan 2015 10:17:26 +0000 (+0100) Subject: Disable the clipboard profile functionality, to prevent the unable to read clipboard... X-Git-Tag: 15.01~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=35786cf94be2e835b36049bd5d6b31c9c6e25100;p=cura.git Disable the clipboard profile functionality, to prevent the unable to read clipboard popup (wxWidgets problem) --- diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py index cc44fb23..222da90b 100644 --- a/Cura/gui/mainWindow.py +++ b/Cura/gui/mainWindow.py @@ -146,8 +146,8 @@ class mainWindow(wx.Frame): i = toolsMenu.Append(-1, _("Auto Firmware Update...")) self.Bind(wx.EVT_MENU, self.OnAutoFirmwareUpdate, i) - i = toolsMenu.Append(-1, _("Copy profile to clipboard")) - self.Bind(wx.EVT_MENU, self.onCopyProfileClipboard,i) + #i = toolsMenu.Append(-1, _("Copy profile to clipboard")) + #self.Bind(wx.EVT_MENU, self.onCopyProfileClipboard,i) toolsMenu.AppendSeparator() self.allAtOnceItem = toolsMenu.Append(-1, _("Print all at once"), kind=wx.ITEM_RADIO) @@ -245,7 +245,7 @@ class mainWindow(wx.Frame): #Timer set; used to check if profile is on the clipboard self.timer = wx.Timer(self) self.Bind(wx.EVT_TIMER, self.onTimer) - self.timer.Start(1000) + #self.timer.Start(1000) self.lastTriedClipboard = profile.getProfileString() # Restore the window position, size & state from the preferences file