Commit 7074f120 authored by viknn's avatar viknn

Added fullpath to EEschema plot output (for more wide Russian GUI forms)

parent 44132214
...@@ -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( "-" ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment