From e3015930f17c19c5dd3d84e514b5f3715e8c9cbf Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 9 Jul 2014 13:50:27 +0200 Subject: [PATCH] Module editor: modules are shown in GAL mode when loaded from file/library. --- pcbnew/librairi.cpp | 1 + pcbnew/modedit.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/pcbnew/librairi.cpp b/pcbnew/librairi.cpp index 556726d826..b793856792 100644 --- a/pcbnew/librairi.cpp +++ b/pcbnew/librairi.cpp @@ -274,6 +274,7 @@ MODULE* FOOTPRINT_EDIT_FRAME::Import_Module() PlaceModule( module, NULL ); GetBoard()->m_Status_Pcb = 0; GetBoard()->BuildListOfNets(); + updateView(); return module; } diff --git a/pcbnew/modedit.cpp b/pcbnew/modedit.cpp index d51e1550a5..c813011dd6 100644 --- a/pcbnew/modedit.cpp +++ b/pcbnew/modedit.cpp @@ -541,6 +541,7 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event ) m_Draw3DFrame->NewDisplay(); GetScreen()->ClrModify(); + updateView(); break;