Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 12394 → Rev 12395

/trunk/Scribus/scribus/smtextstyles.cpp
145,6 → 145,9
for (int i = 0; i < styleNames.count(); ++i)
{
index = tmpStyles_.find(styleNames[i]);
//FIXME: #7133: Use .isDefaultStyle() instead here rather than relying on tr text comparison
if (index<0 && styleNames[i]==CommonStrings::trDefaultParagraphStyle)
index = tmpStyles_.find(CommonStrings::DefaultParagraphStyle);
if (index > -1)
selection_.append(&tmpStyles_[index]);
}
1309,11 → 1312,13
for (int i = 0; i < styleNames.count(); ++i)
{
int index = tmpStyles_.find(styleNames[i]);
//FIXME: #7133: Use .isDefaultStyle() instead here rather than relying on tr text comparison
if (index<0 && styleNames[i]==CommonStrings::trDefaultCharacterStyle)
index = tmpStyles_.find(CommonStrings::DefaultCharacterStyle);
if (index > -1)
selection_.append(&tmpStyles_[index]);
 
}
 
page_->show(selection_, cstyles, PrefsManager::instance()->appPrefs.Language, doc_->unitIndex());
setupConnections();
}