From d228f35719eba34434808c8609bf95a271f4f5f5 Mon Sep 17 00:00:00 2001 From: Ronnie Gaensli Date: Mon, 6 Aug 2018 14:01:44 +0200 Subject: [PATCH] pcbnew: fix pan while moving mouse after cancelling selection box MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.7.4" This is a multi-part message in MIME format. --------------2.7.4 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit Fixes: lp:1776648 * https://bugs.launchpad.net/kicad/+bug/1776648 --- pcbnew/tools/selection_tool.cpp | 2 ++ 1 file changed, 2 insertions(+) --------------2.7.4 Content-Type: text/x-patch; name="0001-pcbnew-fix-pan-while-moving-mouse-after-cancelling-s.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-pcbnew-fix-pan-while-moving-mouse-after-cancelling-s.patch" diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 9703a0a..9b260f7 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -665,6 +665,8 @@ bool SELECTION_TOOL::selectMultiple() } } + getViewControls()->SetAutoPan( false ); + // Stop drawing the selection box view->Remove( &area ); m_multiple = false; // Multiple selection mode is inactive --------------2.7.4--