Avoid marking a default name translatable: after translation the result
can be unexpected and broken.
This commit is contained in:
parent
74051be3b7
commit
eef81e84b2
|
@ -1003,8 +1003,8 @@ int SCH_DRAWING_TOOLS::DrawSheet( const TOOL_EVENT& aEvent )
|
||||||
sheet->SetBorderWidth( cfg->m_Drawing.default_line_thickness );
|
sheet->SetBorderWidth( cfg->m_Drawing.default_line_thickness );
|
||||||
sheet->SetBorderColor( cfg->m_Drawing.default_sheet_border_color );
|
sheet->SetBorderColor( cfg->m_Drawing.default_sheet_border_color );
|
||||||
sheet->SetBackgroundColor( cfg->m_Drawing.default_sheet_background_color );
|
sheet->SetBackgroundColor( cfg->m_Drawing.default_sheet_background_color );
|
||||||
sheet->GetFields()[ SHEETNAME ].SetText( _( "Untitled Sheet" ) );
|
sheet->GetFields()[ SHEETNAME ].SetText( "Untitled Sheet" );
|
||||||
sheet->GetFields()[ SHEETFILENAME ].SetText( _( "untitled.kicad_sch" ) );
|
sheet->GetFields()[ SHEETFILENAME ].SetText( "untitled.kicad_sch" );
|
||||||
sizeSheet( sheet, cursorPos );
|
sizeSheet( sheet, cursorPos );
|
||||||
|
|
||||||
m_view->ClearPreview();
|
m_view->ClearPreview();
|
||||||
|
|
Loading…
Reference in New Issue