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
34f6ca1b
Commit
34f6ca1b
authored
Feb 07, 2014
by
Henner Zeller
Committed by
Brian Sidebotham
Feb 07, 2014
Browse files
Options
Browse Files
Download
Plain Diff
* Bring CvPcb footprint window to the front when it has been obscured by another window
parents
742ee532
159017ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
cvframe.cpp
cvpcb/cvframe.cpp
+9
-0
No files found.
cvpcb/cvframe.cpp
View file @
34f6ca1b
...
@@ -934,6 +934,15 @@ void CVPCB_MAINFRAME::CreateScreenCmp()
...
@@ -934,6 +934,15 @@ void CVPCB_MAINFRAME::CreateScreenCmp()
{
{
if
(
m_DisplayFootprintFrame
->
IsIconized
()
)
if
(
m_DisplayFootprintFrame
->
IsIconized
()
)
m_DisplayFootprintFrame
->
Iconize
(
false
);
m_DisplayFootprintFrame
->
Iconize
(
false
);
// The display footprint window might be buried under some other
// windows, so CreateScreenCmp() on an existing window would not
// show any difference, leaving the user confused.
// So we want to put it to front, second after our CVPCB_MAINFRAME.
// We do this by a little dance of bringing it to front then the main
// frame back.
m_DisplayFootprintFrame
->
Raise
();
// Make sure that is visible.
Raise
();
// .. but still we want the focus.
}
}
m_DisplayFootprintFrame
->
InitDisplay
();
m_DisplayFootprintFrame
->
InitDisplay
();
...
...
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