Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
kicad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
KiCad
KiCad Source Code
kicad
Commits
8b690c9a
Commit
8b690c9a
authored
2 years ago
by
Jeff Young
Browse files
Options
Downloads
Patches
Plain Diff
Restore fix for
#10029
.
Fixes
#12445
(cherry picked from commit
1be8adeb
)
parent
6d25e57c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cvpcb/cvpcb_mainframe.cpp
+7
-0
7 additions, 0 deletions
cvpcb/cvpcb_mainframe.cpp
with
7 additions
and
0 deletions
cvpcb/cvpcb_mainframe.cpp
+
7
−
0
View file @
8b690c9a
...
...
@@ -421,6 +421,10 @@ void CVPCB_MAINFRAME::OnEnterFilteringText( wxCommandEvent& aEvent )
// If the option FOOTPRINTS_LISTBOX::FILTERING_BY_TEXT_PATTERN is set, update the list
// of available footprints which match the filter
// GTK loses the search-control's focus when updating the footprints list box, so we record
// the insertion point here and then restore it (and the focus) at the end.
long
pos
=
m_tcFilterString
->
GetInsertionPoint
();
COMPONENT
*
symbol
=
GetSelectedComponent
();
wxString
libraryName
=
m_librariesListBox
->
GetSelectedLibrary
();
...
...
@@ -435,6 +439,9 @@ void CVPCB_MAINFRAME::OnEnterFilteringText( wxCommandEvent& aEvent )
RefreshFootprintViewer
();
DisplayStatus
();
m_tcFilterString
->
SetFocus
();
m_tcFilterString
->
SetInsertionPoint
(
pos
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment