Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
78d9e7b7
Commit
78d9e7b7
authored
Apr 07, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: pcbnew crashes when selected component is removed in OpenGL canvas
parent
d38c9b20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
netlist.cpp
pcbnew/netlist.cpp
+6
-0
No files found.
pcbnew/netlist.cpp
View file @
78d9e7b7
...
...
@@ -48,6 +48,9 @@
#include <pcbnew.h>
#include <io_mgr.h>
#include <tool/tool_manager.h>
#include <tools/common_actions.h>
void
PCB_EDIT_FRAME
::
ReadPcbNetlist
(
const
wxString
&
aNetlistFileName
,
const
wxString
&
aCmpFileName
,
...
...
@@ -108,6 +111,9 @@ void PCB_EDIT_FRAME::ReadPcbNetlist( const wxString& aNetlistFileName,
}
}
// Clear selection, just in case a selected item has to be removed
m_toolManager
->
RunAction
(
COMMON_ACTIONS
::
selectionClear
,
true
);
netlist
.
SortByReference
();
board
->
ReplaceNetlist
(
netlist
,
aDeleteSinglePadNets
,
aReporter
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment