瀏覽代碼

Fix broken copy function

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35318 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 16 年之前
父節點
當前提交
8d4a127169
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/menuform.py

+ 1 - 1
gui/wxpython/gui_modules/menuform.py

@@ -820,7 +820,7 @@ class mainFrame(wx.Frame):
         cmdstring = ' '.join(self.createCmd(ignoreErrors=True))
         cmdstring = ' '.join(self.createCmd(ignoreErrors=True))
         cmddata.SetText(cmdstring)
         cmddata.SetText(cmdstring)
         if wx.TheClipboard.Open():
         if wx.TheClipboard.Open():
-            wx.TheClipboard.UsePrimarySelection(True)
+#            wx.TheClipboard.UsePrimarySelection(True)
             wx.TheClipboard.SetData(cmddata)
             wx.TheClipboard.SetData(cmddata)
             wx.TheClipboard.Close()
             wx.TheClipboard.Close()
             self.SetStatusText( _("'%s' copied to clipboard") % \
             self.SetStatusText( _("'%s' copied to clipboard") % \