Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 23986 → Rev 23987

/trunk/Scribus/scribus/ui/propertiespalette_text.cpp
701,6 → 701,11
{
if (!m_ScMW || m_ScMW->scriptIsRunning() || !m_haveDoc || !m_haveItem)
return;
 
UndoTransaction activeTransaction;
if (UndoManager::undoEnabled())
activeTransaction = UndoManager::instance()->beginTransaction(Um::SelectionGroup, Um::IGroup, Um::RemoveTextStyle, tr( "remove direct paragraph formatting" ), Um::IFont);
 
Selection tempSelection(this, false);
tempSelection.addItem(m_item, true);
m_doc->itemSelection_ClearBulNumStrings(&tempSelection);
707,6 → 712,9
m_doc->itemSelection_EraseParagraphStyle(&tempSelection);
CharStyle emptyCStyle;
m_doc->itemSelection_SetCharStyle(emptyCStyle, &tempSelection);
 
if (activeTransaction)
activeTransaction.commit();
}
 
void PropertiesPalette_Text::updateColorList()