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
e07643f0
Commit
e07643f0
authored
Feb 25, 2011
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug that prevented moved items from being place in library editor.
parent
4d1cdfd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
libedit_onleftclick.cpp
eeschema/libedit_onleftclick.cpp
+13
-0
No files found.
eeschema/libedit_onleftclick.cpp
View file @
e07643f0
...
...
@@ -38,6 +38,19 @@ void LIB_EDIT_FRAME::OnLeftClick( wxDC* DC, const wxPoint& aPosition )
switch
(
GetToolId
()
)
{
case
ID_NO_TOOL_SELECTED
:
if
(
DrawEntry
&&
DrawEntry
->
m_Flags
)
// moved object
{
switch
(
DrawEntry
->
Type
()
)
{
case
LIB_PIN_T
:
PlacePin
(
DC
);
break
;
default
:
EndDrawGraphicItem
(
DC
);
break
;
}
}
break
;
case
ID_LIBEDIT_PIN_BUTT
:
...
...
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