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
63ae8394
Commit
63ae8394
authored
Mar 04, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for uninitialized length tuning status popup.
parent
a550ff84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
length_tuner_tool.cpp
pcbnew/router/length_tuner_tool.cpp
+1
-2
pns_tune_status_popup.cpp
pcbnew/router/pns_tune_status_popup.cpp
+4
-4
No files found.
pcbnew/router/length_tuner_tool.cpp
View file @
63ae8394
...
...
@@ -171,8 +171,6 @@ void LENGTH_TUNER_TOOL::performTuning()
}
PNS_TUNE_STATUS_POPUP
statusPopup
(
m_frame
);
statusPopup
.
Popup
();
PNS_MEANDER_PLACER
*
placer
=
static_cast
<
PNS_MEANDER_PLACER
*>
(
m_router
->
Placer
()
);
VECTOR2I
end
;
...
...
@@ -199,6 +197,7 @@ void LENGTH_TUNER_TOOL::performTuning()
statusPopup
.
Update
(
m_router
);
statusPopup
.
Move
(
p
);
statusPopup
.
Popup
();
}
else
if
(
evt
->
IsClick
(
BUT_LEFT
)
)
{
...
...
pcbnew/router/pns_tune_status_popup.cpp
View file @
63ae8394
...
...
@@ -25,11 +25,11 @@
PNS_TUNE_STATUS_POPUP
::
PNS_TUNE_STATUS_POPUP
(
PCB_EDIT_FRAME
*
aParent
)
:
WX_STATUS_POPUP
(
aParent
)
{
m_panel
->
SetBackgroundColour
(
wxColour
(
64
,
64
,
64
)
);
m_statusLine
=
new
wxStaticText
(
m_panel
,
wxID_ANY
,
wxT
(
"Status text 1
\n
"
)
)
;
m_topSizer
->
Add
(
m_statusLine
,
1
,
wxALL
|
wxEXPAND
,
5
);
m_panel
->
SetBackgroundColour
(
wxColour
(
64
,
64
,
64
)
);
m_statusLine
=
new
wxStaticText
(
m_panel
,
wxID_ANY
,
wxT
(
"Status text 1
\n
"
)
)
;
m_topSizer
->
Add
(
m_statusLine
,
1
,
wxALL
|
wxEXPAND
,
5
);
updateSize
();
updateSize
();
}
...
...
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