From bea4664311edaf35a1b0a4ed0409c02bf69bb7bc Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 5 Jun 2017 18:12:22 +0200 Subject: [PATCH] Fixes: lp:1695751 (EEschema: "Not-connected" flag not movable) https://bugs.launchpad.net/kicad/+bug/1695751 --- eeschema/controle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/controle.cpp b/eeschema/controle.cpp index 53225f67db..cb049bb103 100644 --- a/eeschema/controle.cpp +++ b/eeschema/controle.cpp @@ -182,7 +182,7 @@ SCH_ITEM* SCH_EDIT_FRAME::LocateItem( const wxPoint& aPosition, const KICAD_T aF { wxString text = m_collectedItems[i]->GetSelectMenuText(); BITMAP_DEF xpm = m_collectedItems[i]->GetMenuImage(); - AddMenuItem( &selectMenu, + i, text, KiBitmap( xpm ) ); + AddMenuItem( &selectMenu, ID_SELECT_ITEM_START + i, text, KiBitmap( xpm ) ); } // Set to NULL in case the user aborts the clarification context menu.