Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 393 → Rev 392

/trunk/Scribus/scribus/scribusview.cpp
466,19 → 466,12
void ScribusView::setLayMenTxt(int l)
{
QValueList<Layer>::iterator it;
QString lName;
for (it = Doc->Layers.begin(); it != Doc->Layers.end(); ++it)
{
if ((*it).LNr == l)
break;
}
lName=(*it).Name;
if (lName.length() > 20 )
{
lName.truncate(18);
lName=lName.leftJustify( 20, '.');
}
LY->setText(lName);
LY->setText((*it).Name);
}
 
/** Fuehrt die Vergroesserung/Verkleinerung aus */