diff --git a/common/eda_base_frame.cpp b/common/eda_base_frame.cpp index e8691262ee..0e7fbcbb3b 100644 --- a/common/eda_base_frame.cpp +++ b/common/eda_base_frame.cpp @@ -677,14 +677,14 @@ void EDA_BASE_FRAME::PrintMsg( const wxString& text ) void EDA_BASE_FRAME::ShowInfoBarError( const wxString& aErrorMsg ) { m_infoBar->RemoveAllButtons(); - GetInfoBar()->ShowMessageFor( aErrorMsg, 5000, wxICON_ERROR ); + GetInfoBar()->ShowMessageFor( aErrorMsg, 8000, wxICON_ERROR ); } void EDA_BASE_FRAME::ShowInfoBarWarning( const wxString& aWarningMsg ) { m_infoBar->RemoveAllButtons(); - GetInfoBar()->ShowMessageFor( aWarningMsg, 5000, wxICON_WARNING ); + GetInfoBar()->ShowMessageFor( aWarningMsg, 8000, wxICON_WARNING ); } diff --git a/pcbnew/router/pns_router.cpp b/pcbnew/router/pns_router.cpp index 12b96e7ca4..e0e210a20c 100644 --- a/pcbnew/router/pns_router.cpp +++ b/pcbnew/router/pns_router.cpp @@ -191,7 +191,7 @@ bool ROUTER::StartRouting( const VECTOR2I& aP, ITEM* aStartItem, int aLayer ) if( ! isStartingPointRoutable( aP, aLayer ) ) { - SetFailureReason( _("Cannot start routing inside a keepout area or board outline." ) ); + SetFailureReason( _( "The routing start point violates DRC." ) ); return false; } diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index 5baadac82b..ebeb3cb16a 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -938,7 +938,7 @@ bool ROUTER_TOOL::prepareInteractive() if( !m_router->StartRouting( m_startSnapPoint, m_startItem, routingLayer ) ) { - DisplayError( frame(), m_router->FailureReason() ); + frame()->ShowInfoBarError( m_router->FailureReason() ); highlightNet( false ); controls()->SetAutoPan( false ); return false;