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
5202ec58
Commit
5202ec58
authored
Sep 18, 2013
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix std::string to wxString conversion bug in Pcbnew. (fixes lp:1226670)
parent
6fb73118
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
xchgmod.cpp
pcbnew/xchgmod.cpp
+3
-2
No files found.
pcbnew/xchgmod.cpp
View file @
5202ec58
...
@@ -324,14 +324,15 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleId( bool aUseValue )
...
@@ -324,14 +324,15 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleId( bool aUseValue )
check_module_value
=
true
;
check_module_value
=
true
;
value
=
m_CurrentModule
->
GetValue
();
value
=
m_CurrentModule
->
GetValue
();
msg
.
Printf
(
_
(
"Change modules %s -> %s (for value = %s)?"
),
msg
.
Printf
(
_
(
"Change modules %s -> %s (for value = %s)?"
),
m_CurrentModule
->
GetFPID
().
Format
().
c_str
(
),
GetChars
(
FROM_UTF8
(
m_CurrentModule
->
GetFPID
().
Format
().
c_str
()
)
),
GetChars
(
newmodulename
),
GetChars
(
newmodulename
),
GetChars
(
m_CurrentModule
->
GetValue
()
)
);
GetChars
(
m_CurrentModule
->
GetValue
()
)
);
}
}
else
else
{
{
msg
.
Printf
(
_
(
"Change modules %s -> %s ?"
),
msg
.
Printf
(
_
(
"Change modules %s -> %s ?"
),
lib_reference
.
GetFootprintName
().
c_str
(),
GetChars
(
newmodulename
)
);
GetChars
(
FROM_UTF8
(
lib_reference
.
Format
().
c_str
()
)
),
GetChars
(
newmodulename
)
);
}
}
if
(
!
IsOK
(
this
,
msg
)
)
if
(
!
IsOK
(
this
,
msg
)
)
...
...
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