Be more aggressive about clearing edit flags after operations.
Fixes https://gitlab.com/kicad/code/kicad/issues/13173 Fixes https://gitlab.com/kicad/code/kicad/issues/13385
This commit is contained in:
parent
1d9783ed32
commit
933a5d45e1
|
@ -1230,6 +1230,9 @@ void SCH_LINE_WIRE_BUS_TOOL::finishSegments()
|
||||||
if( m_busUnfold.in_progress )
|
if( m_busUnfold.in_progress )
|
||||||
m_busUnfold = {};
|
m_busUnfold = {};
|
||||||
|
|
||||||
|
for( SCH_ITEM* item : m_frame->GetScreen()->Items() )
|
||||||
|
item->ClearEditFlags();
|
||||||
|
|
||||||
m_frame->TestDanglingEnds();
|
m_frame->TestDanglingEnds();
|
||||||
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
|
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
|
||||||
|
|
||||||
|
|
|
@ -931,7 +931,7 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
m_frame->OnModify();
|
m_frame->OnModify();
|
||||||
}
|
}
|
||||||
|
|
||||||
for( EDA_ITEM* item : selectionCopy )
|
for( EDA_ITEM* item : m_frame->GetScreen()->Items() )
|
||||||
item->ClearEditFlags();
|
item->ClearEditFlags();
|
||||||
|
|
||||||
if( unselect )
|
if( unselect )
|
||||||
|
|
Loading…
Reference in New Issue