Fix a crash when aborting a block command.
This commit is contained in:
parent
1c52824913
commit
b002b96db6
|
@ -203,5 +203,5 @@ void AbortBlockCurrentCommand( EDA_DRAW_PANEL* aPanel, wxDC* aDC )
|
||||||
aPanel->GetParent()->DisplayToolMsg( wxEmptyString );
|
aPanel->GetParent()->DisplayToolMsg( wxEmptyString );
|
||||||
|
|
||||||
// ugly, but temporary
|
// ugly, but temporary
|
||||||
reinterpret_cast<EDA_DRAW_PANEL_GAL*>( aPanel )->SetDefaultCursor();
|
dynamic_cast<EDA_DRAW_PANEL_GAL*>( aPanel )->SetDefaultCursor();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue