|
|
@ -483,6 +483,7 @@ void DIALOG_ABOUT::onCopyVersionInfo( wxCommandEvent& event ) |
|
|
wxString msg_version = GetVersionInfoData( m_titleName ); |
|
|
wxString msg_version = GetVersionInfoData( m_titleName ); |
|
|
|
|
|
|
|
|
wxTheClipboard->SetData( new wxTextDataObject( msg_version ) ); |
|
|
wxTheClipboard->SetData( new wxTextDataObject( msg_version ) ); |
|
|
|
|
|
wxTheClipboard->Flush(); // Allow clipboard data to be available after KiCad closes
|
|
|
wxTheClipboard->Close(); |
|
|
wxTheClipboard->Close(); |
|
|
m_btCopyVersionInfo->SetLabel( _( "Copied..." ) ); |
|
|
m_btCopyVersionInfo->SetLabel( _( "Copied..." ) ); |
|
|
} |
|
|
} |
|
|
|