Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24809 → Rev 24808

/trunk/Scribus/scribus/ui/cpalette.cpp
971,7 → 971,7
void ColorPalette::showGradient(int number)
{
bool sigBlocked = fillModeCombo->blockSignals(true);
if (number == -1)
if (number==-1)
{
fillModeCombo->setCurrentIndex(0);
}
1082,7 → 1082,7
void ColorPalette::showGradientStroke(int number)
{
bool sigBlocked = strokeModeCombo->blockSignals(true);
if (number == -1 || number == 0)
if (number==-1 || number == 0)
strokeModeCombo->setCurrentIndex(0);
else if (number > 0 && number < 8)
{
1101,7 → 1101,7
if (patternList->count() == 0)
{
strokeModeCombo->setCurrentIndex(0);
emit NewGradientS(Gradient_None);
emit NewGradient(Gradient_None);
}
else
strokeModeCombo->setCurrentIndex(2);