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
b102776b
Commit
b102776b
authored
Jul 20, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Plain Diff
merge diff from Launchpad
parents
f0213de0
4fc3e407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
dialog_eeschema_config.cpp
eeschema/dialog_eeschema_config.cpp
+9
-0
No files found.
eeschema/dialog_eeschema_config.cpp
View file @
b102776b
...
...
@@ -272,6 +272,15 @@ void DIALOG_EESCHEMA_CONFIG::OnRemoveLibClick( wxCommandEvent& event )
m_ListLibr
->
Delete
(
selections
[
ii
]
);
m_LibListChanged
=
TRUE
;
}
// Select next item after deleted in m_ListLibr
if
(
m_ListLibr
->
GetCount
()
>
0
&&
selections
.
GetCount
()
>
0
)
{
int
pos
=
selections
[
selections
.
GetCount
()
-
1
];
if
(
pos
==
m_ListLibr
->
GetCount
()
)
pos
=
m_ListLibr
->
GetCount
()
-
1
;
m_ListLibr
->
SetSelection
(
pos
);
}
}
...
...
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