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
cedcd2ba
Commit
cedcd2ba
authored
Oct 13, 2012
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: fix segfault when edit text and empty editing text
parent
eee97387
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dialog_edit_label.cpp
eeschema/dialogs/dialog_edit_label.cpp
+3
-0
No files found.
eeschema/dialogs/dialog_edit_label.cpp
View file @
cedcd2ba
...
...
@@ -257,7 +257,10 @@ void DIALOG_LABEL_EDITOR::TextPropertiesAccept( wxCommandEvent& aEvent )
if
(
!
text
.
IsEmpty
()
)
m_CurrentText
->
m_Text
=
text
;
else
if
(
!
m_CurrentText
->
IsNew
()
)
{
DisplayError
(
this
,
_
(
"Empty Text!"
)
);
return
;
}
m_CurrentText
->
SetOrientation
(
m_TextOrient
->
GetSelection
()
);
text
=
m_TextSize
->
GetValue
();
...
...
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