Commit fbe7a112 authored by dickelbeck's avatar dickelbeck

pcbnew's onrightclick behavior

parent ed0677b4
......@@ -185,13 +185,13 @@ void WinEDA_BasePcbFrame::ProcessItemSelection( wxCommandEvent& event )
// index into the collector list:
int itemNdx = id - ID_POPUP_PCB_ITEM_SELECTION_START;
if( (id >= ID_POPUP_PCB_ITEM_SELECTION_START)
&& (id <= ID_POPUP_PCB_ITEM_SELECTION_END) )
if( id >= ID_POPUP_PCB_ITEM_SELECTION_START
&& id <= ID_POPUP_PCB_ITEM_SELECTION_END )
{
BOARD_ITEM* item = (*m_Collector)[itemNdx];
DrawPanel->m_AbortRequest = false;
#if defined (DEBUG)
#if defined (DEBUG) && 0
item->Show( 0, std::cout );
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment