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
fb57b54b
Commit
fb57b54b
authored
Apr 18, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Lorenzo's bug introduced in rev. 4082
parent
5da0a971
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
dialog_page_settings.cpp
common/dialogs/dialog_page_settings.cpp
+4
-8
No files found.
common/dialogs/dialog_page_settings.cpp
View file @
fb57b54b
...
@@ -63,11 +63,10 @@ const wxString pageFmts[] =
...
@@ -63,11 +63,10 @@ const wxString pageFmts[] =
_
(
"C 17x22in"
),
_
(
"C 17x22in"
),
_
(
"D 22x34in"
),
_
(
"D 22x34in"
),
_
(
"E 34x44in"
),
_
(
"E 34x44in"
),
_
(
"US
Letter 8.5x11in"
),
_
(
"US
Letter 8.5x11in"
),
// USLetter without space is correct
_
(
"US
Legal 8.5x14in"
),
_
(
"US
Legal 8.5x14in"
),
// USLegal without space is correct
_
(
"US
Ledger 11x17in"
),
_
(
"US
Ledger 11x17in"
),
// USLedger without space is correct
_
(
"User (Custom)"
),
_
(
"User (Custom)"
),
wxT
(
""
)
// end of list
};
};
void
EDA_DRAW_FRAME
::
Process_PageSettings
(
wxCommandEvent
&
event
)
void
EDA_DRAW_FRAME
::
Process_PageSettings
(
wxCommandEvent
&
event
)
...
@@ -115,11 +114,8 @@ void DIALOG_PAGES_SETTINGS::initDialog()
...
@@ -115,11 +114,8 @@ void DIALOG_PAGES_SETTINGS::initDialog()
// The first shows translated strings, the second contains not translated strings
// The first shows translated strings, the second contains not translated strings
m_paperSizeComboBox
->
Clear
();
m_paperSizeComboBox
->
Clear
();
for
(
unsigned
ii
=
0
;
;
ii
++
)
for
(
unsigned
ii
=
0
;
ii
<
DIM
(
pageFmts
)
;
ii
++
)
{
{
if
(
pageFmts
[
ii
].
IsEmpty
()
)
break
;
m_pageFmt
.
Add
(
pageFmts
[
ii
]
);
m_pageFmt
.
Add
(
pageFmts
[
ii
]
);
m_paperSizeComboBox
->
Append
(
wxGetTranslation
(
pageFmts
[
ii
]
)
);
m_paperSizeComboBox
->
Append
(
wxGetTranslation
(
pageFmts
[
ii
]
)
);
}
}
...
...
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