From af30eca3cb9a046bd5cc381d38dbf4c0ac7f3a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= Date: Mon, 20 May 2019 09:38:00 +0200 Subject: [PATCH] eemodern: hover selection should autoclear after invoking properties dialog --- eeschema/tools/sch_edit_tool.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eeschema/tools/sch_edit_tool.cpp b/eeschema/tools/sch_edit_tool.cpp index c6217e02c1..bd088c7e6b 100644 --- a/eeschema/tools/sch_edit_tool.cpp +++ b/eeschema/tools/sch_edit_tool.cpp @@ -1220,6 +1220,11 @@ int SCH_EDIT_TOOL::Properties( const TOOL_EVENT& aEvent ) updateView( item ); + if( selection.IsHover() ) + { + m_toolMgr->RunAction( EE_ACTIONS::clearSelection, true ); + } + return 0; }