Eeschema: fix for root sheet plot filename, in non English languages.
This commit is contained in:
parent
3bd2b7762a
commit
e1a2cbbea1
|
@ -602,7 +602,8 @@ wxString SCH_EDIT_FRAME::GetUniqueFilenameForCurrentSheet()
|
|||
wxString filename = fn.GetName();
|
||||
wxString sheetFullName = g_CurrentSheet->PathHumanReadable();
|
||||
|
||||
if( sheetFullName == "<root sheet>" )
|
||||
if( sheetFullName == "<root sheet>" || sheetFullName == _( "<root sheet>" ) ||
|
||||
sheetFullName == "/" )
|
||||
{
|
||||
// For the root sheet, use root schematic file name.
|
||||
sheetFullName.clear();
|
||||
|
|
Loading…
Reference in New Issue