chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14418cb
)
Hopefully suppress the OpenClipboard failed message.
author
daid
<daid303@gmail.com>
Tue, 12 Nov 2013 12:29:37 +0000
(13:29 +0100)
committer
daid
<daid303@gmail.com>
Tue, 12 Nov 2013 12:29:37 +0000
(13:29 +0100)
Cura/gui/mainWindow.py
patch
|
blob
|
history
diff --git
a/Cura/gui/mainWindow.py
b/Cura/gui/mainWindow.py
index f2a0eca37321092dc12a1cab6b60725d50f84fd5..2610087a804bb50d5768bc151d7954a254c631e2 100644
(file)
--- a/
Cura/gui/mainWindow.py
+++ b/
Cura/gui/mainWindow.py
@@
-254,7
+254,8
@@
class mainWindow(wx.Frame):
profileString = ""
try:
if not wx.TheClipboard.IsOpened():
- wx.TheClipboard.Open()
+ if not wx.TheClipboard.Open():
+ return
do = wx.TextDataObject()
if wx.TheClipboard.GetData(do):
profileString = do.GetText()