Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 15326 → Rev 15327

/branches/Version135/Scribus/scribus/scribus.cpp
3665,6 → 3665,17
}
}
 
void ScribusMainWindow::updateColorLists()
{
if (HaveDoc)
{
propertiesPalette->updateColorList();
propertiesPalette->SetLineFormats(doc);
styleManager->updateColorList();
}
}
 
 
bool ScribusMainWindow::slotDocOpen()
{
PrefsContext* docContext = prefsManager->prefsFile->getContext("docdirs", false);
7385,9 → 7396,12
doc->replaceLineStyleColors(dia2->replaceMap);
doc->recalculateColors();
doc->recalcPicturesRes();
updateColorLists();
/*
propertiesPalette->updateColorList();
propertiesPalette->SetLineFormats(doc);
styleManager->updateColorList();
*/
if (doc->m_Selection->count() != 0)
doc->m_Selection->itemAt(0)->emitAllToGUI();
view->DrawNew();
/branches/Version135/Scribus/scribus/canvasmode_eyedropper.cpp
179,7 → 179,7
{
ScColor newColor(selectedColor.red(), selectedColor.green(), selectedColor.blue());
m_doc->PageColors[colorName]=newColor;
m_ScMW->propertiesPalette->updateColorList();
m_ScMW->updateColorLists();
}
else
colorName=QString::null;
/branches/Version135/Scribus/scribus/scribus.h
524,6 → 524,7
void insertSampleText();
//void sendToLayer(int layerNumber);
void updateItemLayerList();
void updateColorLists();
/*! \brief Apply changes from ReformDoc dialog.
It's called from this->slotDocSetup() or from ReformDoc directly.
\param dia a reference to the ReformDoc dialog */