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
64a9ebc7
Commit
64a9ebc7
authored
Aug 04, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Selected items do not disappear after rendering backend switch.
parent
fa08d9fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pcbframe.cpp
pcbnew/pcbframe.cpp
+2
-1
No files found.
pcbnew/pcbframe.cpp
View file @
64a9ebc7
...
@@ -671,10 +671,11 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable )
...
@@ -671,10 +671,11 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable )
if
(
aEnable
)
if
(
aEnable
)
{
{
SetBoard
(
m_Pcb
);
m_toolManager
->
ResetTools
(
TOOL_BASE
::
GAL_SWITCH
);
GetGalCanvas
()
->
GetView
()
->
RecacheAllItems
(
true
);
GetGalCanvas
()
->
GetView
()
->
RecacheAllItems
(
true
);
GetGalCanvas
()
->
SetEventDispatcher
(
m_toolDispatcher
);
GetGalCanvas
()
->
SetEventDispatcher
(
m_toolDispatcher
);
GetGalCanvas
()
->
StartDrawing
();
GetGalCanvas
()
->
StartDrawing
();
SetBoard
(
m_Pcb
);
}
}
else
else
{
{
...
...
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