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
0e514e93
Commit
0e514e93
authored
Dec 02, 2013
by
Maciej Suminski
Committed by
Wayne Stambaugh
Dec 02, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Pcbnew: fixed disappearance of selected items after GAL switching.
parents
697d95cc
2b0f3350
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
basepcbframe.cpp
pcbnew/basepcbframe.cpp
+3
-3
selection_tool.cpp
pcbnew/tools/selection_tool.cpp
+0
-3
No files found.
pcbnew/basepcbframe.cpp
View file @
0e514e93
...
...
@@ -608,10 +608,10 @@ void PCB_BASE_FRAME::UseGalCanvas( bool aEnable )
{
EDA_DRAW_FRAME
::
UseGalCanvas
(
aEnable
);
ViewReloadBoard
(
m_Pcb
);
m_toolManager
->
SetEnvironment
(
m_Pcb
,
m_galCanvas
->
GetView
(),
m_galCanvas
->
GetViewControls
(),
this
);
ViewReloadBoard
(
m_Pcb
);
}
...
...
pcbnew/tools/selection_tool.cpp
View file @
0e514e93
...
...
@@ -67,9 +67,6 @@ SELECTION_TOOL::~SELECTION_TOOL()
void
SELECTION_TOOL
::
Reset
()
{
m_selection
.
group
->
Clear
();
m_selection
.
items
.
clear
();
// Reinsert the VIEW_GROUP, in case it was removed from the VIEW
getView
()
->
Remove
(
m_selection
.
group
);
getView
()
->
Add
(
m_selection
.
group
);
...
...
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