From 052ca0854693a13591407e22f7e977b457273e0a Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 20 May 2018 15:57:52 +0100 Subject: [PATCH] Switch footprint-locked-can't-remove msg to warning. Fixes: lp:1689898 * https://bugs.launchpad.net/kicad/+bug/1689898 --- pcbnew/board_netlist_updater.cpp | 2 +- pcbnew/dialogs/dialog_track_via_properties.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/board_netlist_updater.cpp b/pcbnew/board_netlist_updater.cpp index 49dcccf4cd..d6a42eb6e8 100644 --- a/pcbnew/board_netlist_updater.cpp +++ b/pcbnew/board_netlist_updater.cpp @@ -551,7 +551,7 @@ bool BOARD_NETLIST_UPDATER::deleteUnusedComponents( NETLIST& aNetlist ) { msg.Printf( _( "Footprint %s is locked, skipping removal.\n" ), GetChars( module->GetReference() ) ); - m_reporter->Report( msg, REPORTER::RPT_INFO ); + m_reporter->Report( msg, REPORTER::RPT_WARNING ); continue; } diff --git a/pcbnew/dialogs/dialog_track_via_properties.cpp b/pcbnew/dialogs/dialog_track_via_properties.cpp index aca1b91015..44d614a74a 100644 --- a/pcbnew/dialogs/dialog_track_via_properties.cpp +++ b/pcbnew/dialogs/dialog_track_via_properties.cpp @@ -322,7 +322,7 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen m_StdButtonsOK->SetDefault(); Layout(); - + // Pressing ENTER when any of the text input fields is active applies changes Connect( wxEVT_TEXT_ENTER, wxCommandEventHandler( DIALOG_TRACK_VIA_PROPERTIES::onOkClick ), NULL, this );