chiark / gitweb /
Disable the clipboard profile functionality, to prevent the unable to read clipboard...
authordaid <daid303@gmail.com>
Thu, 29 Jan 2015 10:17:26 +0000 (11:17 +0100)
committerdaid <daid303@gmail.com>
Thu, 29 Jan 2015 10:17:26 +0000 (11:17 +0100)
Cura/gui/mainWindow.py

index cc44fb235a6e454291e935f6f45a137551007653..222da90b8528167f785f130b47cffd41ad64cd17 100644 (file)
@@ -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