Remove deleted footprints from selection.

Fixes: lp:1797001
* https://bugs.launchpad.net/kicad/+bug/1797001
This commit is contained in:
Jeff Young
2018-10-10 10:59:50 +01:00
parent ab67d2f81a
commit a02e83ebdb
+2
View File
@@ -197,6 +197,8 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
case PCB_MODULE_T:
{
itemsToDeselect.push_back( boardItem );
// There are no modules inside a module yet
wxASSERT( !m_editModules );