Upgrade "project is missing" to a warning.
This commit is contained in:
parent
a06b95bb1f
commit
2fc4ee5c5f
|
@ -84,7 +84,10 @@ DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP( SCH_EDIT_FRAME* aFrame ) :
|
|||
wxBookCtrlEventHandler( DIALOG_SCHEMATIC_SETUP::OnPageChange ), NULL, this );
|
||||
|
||||
if( Prj().IsReadOnly() )
|
||||
m_infoBar->ShowMessage( _( "Project is missing or read-only. Changes will not be saved." ) );
|
||||
{
|
||||
m_infoBar->ShowMessage( _( "Project is missing or read-only. Changes will not be saved." ),
|
||||
wxICON_WARNING );
|
||||
}
|
||||
|
||||
finishDialogSettings();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue