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
7074f120
Commit
7074f120
authored
Mar 22, 2010
by
viknn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added fullpath to EEschema plot output (for more wide Russian GUI forms)
parent
44132214
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
schframe.cpp
eeschema/schframe.cpp
+8
-1
No files found.
eeschema/schframe.cpp
View file @
7074f120
...
@@ -451,9 +451,16 @@ int WinEDA_SchematicFrame::BestZoom()
...
@@ -451,9 +451,16 @@ int WinEDA_SchematicFrame::BestZoom()
wxString
WinEDA_SchematicFrame
::
GetUniqueFilenameForCurrentSheet
()
wxString
WinEDA_SchematicFrame
::
GetUniqueFilenameForCurrentSheet
()
{
{
wxFileName
fn
=
g_RootSheet
->
GetFileName
();
wxFileName
fn
=
g_RootSheet
->
GetFileName
();
wxString
filename
=
fn
.
GetName
();
#ifndef KICAD_GOST
wxString
filename
=
fn
.
GetName
();
if
(
(
filename
.
Len
()
+
m_CurrentSheet
->
PathHumanReadable
().
Len
()
)
<
50
)
if
(
(
filename
.
Len
()
+
m_CurrentSheet
->
PathHumanReadable
().
Len
()
)
<
50
)
#else
fn
.
ClearExt
();
wxString
filename
=
fn
.
GetFullPath
();
if
(
(
filename
.
Len
()
+
m_CurrentSheet
->
PathHumanReadable
().
Len
()
)
<
80
)
#endif
{
{
filename
+=
m_CurrentSheet
->
PathHumanReadable
();
filename
+=
m_CurrentSheet
->
PathHumanReadable
();
filename
.
Replace
(
wxT
(
"/"
),
wxT
(
"-"
)
);
filename
.
Replace
(
wxT
(
"/"
),
wxT
(
"-"
)
);
...
...
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