Browse Source

Don't proceed with opening project if players didn't close

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7974
6.0.7
Jon Evans 5 years ago
parent
commit
298dda8fcd
  1. 3
      kicad/kicad_manager_frame.cpp

3
kicad/kicad_manager_frame.cpp

@ -422,7 +422,8 @@ void KICAD_MANAGER_FRAME::LoadProject( const wxFileName& aProjectFileName )
// Any open KIFACE's must be closed if they are not part of the new project.
// (We never want a KIWAY_PLAYER open on a KIWAY that isn't in the same project.)
// User is prompted here to close those KIWAY_PLAYERs:
CloseProject( true );
if( !CloseProject( true ) )
return;
m_active_project = true;

Loading…
Cancel
Save