Special-case firing of SelectedItemsModified in FPEditor.

(The footprint itself is never selected, but we still
use this event for the properties manager, etc.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22608
This commit is contained in:
Jeff Young
2025-12-31 17:16:46 +00:00
parent d7cd6a6af7
commit 3dd42c0b35
+1 -1
View File
@@ -271,7 +271,7 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
}
}
if( boardItem->IsSelected() )
if( boardItem->IsSelected() || ( m_isFootprintEditor && boardItem == board->GetFirstFootprint() ) )
selectedModified = true;
}