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
a1e08ae5
Commit
a1e08ae5
authored
Jul 15, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drawing tools reset its state on layer change.
parent
8d915878
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drawing_tool.cpp
pcbnew/tools/drawing_tool.cpp
+1
-1
No files found.
pcbnew/tools/drawing_tool.cpp
View file @
a1e08ae5
...
@@ -932,7 +932,7 @@ bool DRAWING_TOOL::drawSegment( int aShape, DRAWSEGMENT*& aGraphic,
...
@@ -932,7 +932,7 @@ bool DRAWING_TOOL::drawSegment( int aShape, DRAWSEGMENT*& aGraphic,
updatePreview
=
true
;
updatePreview
=
true
;
}
}
if
(
evt
->
IsCancel
()
||
evt
->
IsActivate
()
)
if
(
evt
->
IsCancel
()
||
evt
->
IsActivate
()
||
evt
->
IsAction
(
&
COMMON_ACTIONS
::
layerChanged
)
)
{
{
preview
.
Clear
();
preview
.
Clear
();
updatePreview
=
true
;
updatePreview
=
true
;
...
...
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