From 2fc4ee5c5f9ef76ae3ac1c7ff2cf24089c6564d1 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 10 Jul 2021 09:47:49 +0100 Subject: [PATCH] Upgrade "project is missing" to a warning. --- eeschema/dialogs/dialog_schematic_setup.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_schematic_setup.cpp b/eeschema/dialogs/dialog_schematic_setup.cpp index 8d1fec4532..810dbb8840 100644 --- a/eeschema/dialogs/dialog_schematic_setup.cpp +++ b/eeschema/dialogs/dialog_schematic_setup.cpp @@ -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(); }