Eeschema: minor fix for root sheet plot file name.
Fixes: lp:1833487 https://bugs.launchpad.net/kicad/+bug/1833487
This commit is contained in:
parent
8f7278e34f
commit
f0ac61a8fd
|
@ -742,7 +742,7 @@ wxString SCH_EDIT_FRAME::GetUniqueFilenameForCurrentSheet()
|
|||
wxString filename = fn.GetName();
|
||||
wxString sheetFullName = m_CurrentSheet->PathHumanReadable();
|
||||
|
||||
if( sheetFullName == "<root sheet>" )
|
||||
if( sheetFullName == "<root sheet>" || sheetFullName == "/" )
|
||||
{
|
||||
// For the root sheet, use root schematic file name.
|
||||
sheetFullName.clear();
|
||||
|
|
Loading…
Reference in New Issue