Upgrade "project is missing" to a warning.

This commit is contained in:
Jeff Young 2021-07-10 09:47:49 +01:00
parent a06b95bb1f
commit 2fc4ee5c5f
1 changed files with 4 additions and 1 deletions

View File

@ -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();
}