Don't allow motion between two clicks of a dblclick to spoil forceHV.
This commit is contained in:
parent
d881f4b21f
commit
0b2e1d00ea
|
@ -682,8 +682,11 @@ int SCH_WIRE_BUS_TOOL::doDrawSegments( int aType, SCH_LINE* aSegment )
|
|||
}
|
||||
}
|
||||
|
||||
if( evt->IsDblClick( BUT_LEFT ) )
|
||||
if( evt->IsDblClick( BUT_LEFT ) && aSegment )
|
||||
{
|
||||
if( forceHV )
|
||||
computeBreakPoint( screen, aSegment->Back(), cursorPos );
|
||||
|
||||
finishSegments();
|
||||
aSegment = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue