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
e9afb10a
Commit
e9afb10a
authored
May 14, 2014
by
Tomasz Włostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switching top layer should update the layer widget
parent
dd5558f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pcbframe.cpp
pcbnew/pcbframe.cpp
+2
-2
No files found.
pcbnew/pcbframe.cpp
View file @
e9afb10a
...
...
@@ -591,6 +591,7 @@ void PCB_EDIT_FRAME::OnQuit( wxCommandEvent& event )
void
PCB_EDIT_FRAME
::
OnCloseWindow
(
wxCloseEvent
&
Event
)
{
m_canvas
->
SetAbortRequest
(
true
);
GetGalCanvas
()
->
StopDrawing
();
if
(
GetScreen
()
->
IsModify
()
)
{
...
...
@@ -614,8 +615,6 @@ void PCB_EDIT_FRAME::OnCloseWindow( wxCloseEvent& Event )
}
}
GetGalCanvas
()
->
StopDrawing
();
// Delete the auto save file if it exists.
wxFileName
fn
=
GetBoard
()
->
GetFileName
();
...
...
@@ -914,6 +913,7 @@ void PCB_EDIT_FRAME::SetActiveLayer( LAYER_NUM aLayer, bool doLayerWidgetUpdate
(
(
PCB_SCREEN
*
)
GetScreen
()
)
->
m_Active_Layer
=
aLayer
;
SetHighContrastLayer
(
aLayer
);
SetTopLayer
(
aLayer
);
if
(
doLayerWidgetUpdate
)
syncLayerWidgetLayer
();
...
...
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