Loading pcbnew/edit_pcb_text.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ void Abort_Edit_Pcb_Text( EDA_DRAW_PANEL* Panel, wxDC* DC ) TEXTE_PCB* TextePcb = (TEXTE_PCB*) Panel->GetScreen()->GetCurItem(); ( (WinEDA_PcbFrame*) Panel->GetParent() )->SetCurItem( NULL ); Panel->SetMouseCapture( NULL, NULL ); if( TextePcb == NULL ) // Should not occur return; Loading pcbnew/edtxtmod.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -130,6 +130,8 @@ static void AbortMoveTextModule( EDA_DRAW_PANEL* Panel, wxDC* DC ) TEXTE_MODULE* Text = (TEXTE_MODULE*) screen->GetCurItem(); MODULE* Module; Panel->SetMouseCapture( NULL, NULL ); if( Text == NULL ) return; Loading pcbnew/mirepcb.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,8 @@ static void AbortMoveAndEditTarget( EDA_DRAW_PANEL* Panel, wxDC* DC ) ( (WinEDA_PcbFrame*) Panel->GetParent() )->SetCurItem( NULL ); Panel->SetMouseCapture( NULL, NULL ); if( MirePcb == NULL ) return; Loading pcbnew/modules.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ void Abort_MoveOrCopyModule( EDA_DRAW_PANEL* Panel, wxDC* DC ) module = (MODULE*) pcbframe->GetScreen()->GetCurItem(); pcbframe->GetBoard()->m_Status_Pcb &= ~RATSNEST_ITEM_LOCAL_OK; Panel->SetMouseCapture( NULL, NULL ); if( module ) { Loading pcbnew/move-drag_pads.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ static void Abort_Move_Pad( EDA_DRAW_PANEL* Panel, wxDC* DC ) { D_PAD* pad = s_CurrentSelectedPad; Panel->SetMouseCapture( NULL, NULL ); if( pad == NULL ) return; Loading Loading
pcbnew/edit_pcb_text.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ void Abort_Edit_Pcb_Text( EDA_DRAW_PANEL* Panel, wxDC* DC ) TEXTE_PCB* TextePcb = (TEXTE_PCB*) Panel->GetScreen()->GetCurItem(); ( (WinEDA_PcbFrame*) Panel->GetParent() )->SetCurItem( NULL ); Panel->SetMouseCapture( NULL, NULL ); if( TextePcb == NULL ) // Should not occur return; Loading
pcbnew/edtxtmod.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -130,6 +130,8 @@ static void AbortMoveTextModule( EDA_DRAW_PANEL* Panel, wxDC* DC ) TEXTE_MODULE* Text = (TEXTE_MODULE*) screen->GetCurItem(); MODULE* Module; Panel->SetMouseCapture( NULL, NULL ); if( Text == NULL ) return; Loading
pcbnew/mirepcb.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,8 @@ static void AbortMoveAndEditTarget( EDA_DRAW_PANEL* Panel, wxDC* DC ) ( (WinEDA_PcbFrame*) Panel->GetParent() )->SetCurItem( NULL ); Panel->SetMouseCapture( NULL, NULL ); if( MirePcb == NULL ) return; Loading
pcbnew/modules.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ void Abort_MoveOrCopyModule( EDA_DRAW_PANEL* Panel, wxDC* DC ) module = (MODULE*) pcbframe->GetScreen()->GetCurItem(); pcbframe->GetBoard()->m_Status_Pcb &= ~RATSNEST_ITEM_LOCAL_OK; Panel->SetMouseCapture( NULL, NULL ); if( module ) { Loading
pcbnew/move-drag_pads.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ static void Abort_Move_Pad( EDA_DRAW_PANEL* Panel, wxDC* DC ) { D_PAD* pad = s_CurrentSelectedPad; Panel->SetMouseCapture( NULL, NULL ); if( pad == NULL ) return; Loading