Implemented Trac #159.

This adds support for intelligent import from the clipboard (as the paste function).  The old-style textbox import is still around for the time being; it will be killed off by a future change that makes the import dialog into a standard File->Open dialog box instead of the current hacky-box.
This commit is contained in:
Lucas Thode
2010-10-25 19:37:55 -05:00
parent 42c07c1d7a
commit 56371a3e55
2 changed files with 19 additions and 1 deletions

View File

@@ -58,7 +58,8 @@ class MainMenuBar(wx.MenuBar):
clipboardMenu.Append(self.idExportXml, "&XML", "Copy the XML export of this fit to the clipboard")
clipboardMenu.Append(self.idExportDna, "&DNA", "Copy the DNA export of this fit to the clipboard")
fitMenu.AppendMenu(wx.ID_COPY, "To &Clipboard", clipboardMenu, "Export a fit to the clipboard")
fitMenu.AppendMenu(wx.ID_COPY, "&To Clipboard", clipboardMenu, "Export a fit to the clipboard")
fitMenu.Append(wx.ID_PASTE, "&From Clipboard", "Import a fit from the clipboard")
# Character menu