From ee48de67447f2432807e5c2cd97860498f0e6432 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Sun, 9 Dec 2012 14:53:46 -0600 Subject: [PATCH] note that the clipboard format is spreadsheet compatible --- pcbnew/dialogs/dialog_fp_lib_table.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/dialogs/dialog_fp_lib_table.cpp b/pcbnew/dialogs/dialog_fp_lib_table.cpp index 1e669d4ba7..3a3b07ccff 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table.cpp +++ b/pcbnew/dialogs/dialog_fp_lib_table.cpp @@ -306,6 +306,7 @@ class DIALOG_FP_LIB_TABLE : public DIALOG_FP_LIB_TABLE_BASE { case ID_CUT: case ID_COPY: + // this format is compatible with most spreadsheets if( wxTheClipboard->Open() ) { wxGridTableBase* tbl = m_cur_grid->GetTable(); @@ -334,6 +335,7 @@ class DIALOG_FP_LIB_TABLE : public DIALOG_FP_LIB_TABLE_BASE case ID_PASTE: D(printf( "paste\n" );) + // assume format came from a spreadsheet or us. if( wxTheClipboard->Open() ) { if( wxTheClipboard->IsSupported( wxDF_TEXT ) )