Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 14725 → Rev 14724

/branches/Version135/Scribus/scribus/sampleitem.cpp
312,7 → 312,7
 
if (tmpStyle.charStyle().font().isNone())
return QPixmap();
 
bool oldUndoEnabled=UndoManager::instance()->undoEnabled();
UndoManager::instance()->setUndoEnabled(false); // disable undo
 
PageItem_TextFrame *previewItem = new PageItem_TextFrame(m_Doc, 0, 0, width, height, 0, "__whiteforpreviewbg__", "__whiteforpreview__");
363,7 → 363,7
m_Doc->view()->setScale(sca);
m_Doc->appMode = userAppMode;
// m_Doc->docParagraphStyles.remove(tmpIndex);
UndoManager::instance()->setUndoEnabled(true);
UndoManager::instance()->setUndoEnabled(oldUndoEnabled);
return QPixmap::fromImage(pm);
}