Allow save after importing footprint.
Fixes: lp:1819777 * https://bugs.launchpad.net/kicad/+bug/1819777
This commit is contained in:
parent
95858b77c1
commit
f054dcc77d
|
@ -551,7 +551,7 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
||||||
|
|
||||||
case ID_MODEDIT_IMPORT_PART:
|
case ID_MODEDIT_IMPORT_PART:
|
||||||
if( ! Clear_Pcb( true ) )
|
if( ! Clear_Pcb( true ) )
|
||||||
break; // //this command is aborted
|
break; // this command is aborted
|
||||||
|
|
||||||
SetCrossHairPosition( wxPoint( 0, 0 ) );
|
SetCrossHairPosition( wxPoint( 0, 0 ) );
|
||||||
Import_Module();
|
Import_Module();
|
||||||
|
@ -559,7 +559,7 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
||||||
if( GetBoard()->m_Modules )
|
if( GetBoard()->m_Modules )
|
||||||
GetBoard()->m_Modules->ClearFlags();
|
GetBoard()->m_Modules->ClearFlags();
|
||||||
|
|
||||||
GetScreen()->ClrModify();
|
GetScreen()->SetModify();
|
||||||
Zoom_Automatique( false );
|
Zoom_Automatique( false );
|
||||||
m_canvas->Refresh();
|
m_canvas->Refresh();
|
||||||
Update3DView();
|
Update3DView();
|
||||||
|
|
Loading…
Reference in New Issue