From ed9a14f01d054e4c9b5e6864892cc18d343cd73f Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 16 Feb 2018 09:04:22 +0100 Subject: [PATCH] PNS: disable autopanning in case of an error --- pcbnew/router/router_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index e54413714b..35085de6f3 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -684,6 +684,7 @@ bool ROUTER_TOOL::prepareInteractive() { DisplayError( frame(), m_router->FailureReason() ); highlightNet( false ); + controls()->SetAutoPan( false ); return false; }