Prevent the double click from being as a single click in the parent
window which would cause the part to be parked rather than staying in drag mode.
This commit is contained in:
parent
c971460467
commit
79015495b1
|
@ -502,7 +502,12 @@ void LIB_VIEW_FRAME::DClickOnCmpList( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
if( m_Semaphore )
|
if( m_Semaphore )
|
||||||
{
|
{
|
||||||
ExportToSchematicLibraryPart ( event );
|
ExportToSchematicLibraryPart( event );
|
||||||
|
|
||||||
|
// Prevent the double click from being as a single click in the parent
|
||||||
|
// window which would cause the part to be parked rather than staying
|
||||||
|
// in drag mode.
|
||||||
|
event.StopPropagation();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue