From 35f8495e5822ec53b0c3022cfd9d72e4a24c6557 Mon Sep 17 00:00:00 2001 From: Michael Kavanagh Date: Fri, 22 Mar 2019 22:38:58 +0000 Subject: [PATCH] Open drill file in gerbview from KiCad manager tree MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.17.2 (Apple Git-113)" This is a multi-part message in MIME format. --------------2.17.2 (Apple Git-113) Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit Fixes lp:1819754 https://bugs.launchpad.net/kicad/+bug/1819754 --- kicad/treeproject_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --------------2.17.2 (Apple Git-113) Content-Type: text/x-patch; name="0001-Open-drill-file-in-gerbview-from-KiCad-manager-tree.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Open-drill-file-in-gerbview-from-KiCad-manager-tree.patch" diff --git a/kicad/treeproject_item.cpp b/kicad/treeproject_item.cpp index e3dd676cd5..5bdc75646c 100644 --- a/kicad/treeproject_item.cpp +++ b/kicad/treeproject_item.cpp @@ -223,6 +223,7 @@ void TREEPROJECT_ITEM::Activate( TREE_PROJECT_FRAME* aTreePrjFrame ) break; case TREE_GERBER: + case TREE_DRILL: frame->Execute( m_parent, GERBVIEW_EXE, fullFileName ); break; @@ -235,7 +236,6 @@ void TREEPROJECT_ITEM::Activate( TREE_PROJECT_FRAME* aTreePrjFrame ) break; case TREE_NET: - case TREE_DRILL: case TREE_TXT: case TREE_REPORT: { --------------2.17.2 (Apple Git-113)--