Move "selection copied" to the status bar.

This commit is contained in:
Jeff Young 2020-09-27 00:26:18 +01:00
parent 5e96849abd
commit 23938356b9
1 changed files with 1 additions and 5 deletions

View File

@ -1637,9 +1637,6 @@ int EDIT_TOOL::copyToClipboard( const TOOL_EVENT& aEvent )
if( !selection.Empty() )
{
m_statusPopup->SetText( _( "Selection copied" ) );
m_statusPopup->Move( wxGetMousePosition() + wxPoint( 20, 20 ) );
std::vector<BOARD_ITEM*> items;
for( EDA_ITEM* item : selection )
@ -1650,8 +1647,7 @@ int EDIT_TOOL::copyToClipboard( const TOOL_EVENT& aEvent )
io.SetBoard( board() );
io.SaveSelection( selection, m_editModules );
m_statusPopup->Expire( 800 );
m_statusPopup->Show();
frame()->SetStatusText( _( "Selection copied" ) );
}
frame()->PopTool( tool );