Skip to content
Permalink
Browse files

Categorized renderer: synchronize edit ramp button state on undo

  • Loading branch information
m-kuhn committed Jun 11, 2016
1 parent 7692107 commit 4c886ce8ecb94799c208300326074a5b52e1f83a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp
@@ -532,6 +532,10 @@ void QgsCategorizedSymbolRendererV2Widget::updateUiFromRenderer()
cbxInvertedColorRamp->setChecked( mRenderer->invertedColorRamp() );
}

if ( cboCategorizedColorRamp->currentText() == tr( "Random colors" ) )
mButtonEditRamp->setEnabled( false );
else
mButtonEditRamp->setEnabled( true );
}

QgsFeatureRendererV2* QgsCategorizedSymbolRendererV2Widget::renderer()

0 comments on commit 4c886ce

Please sign in to comment.
You can’t perform that action at this time.