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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user