Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Categorized renderer: synchronize edit ramp button state on undo
  • Loading branch information
m-kuhn committed Jun 11, 2016
1 parent 7692107 commit 4c886ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 4c886ce

Please sign in to comment.