mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Categorized renderer: synchronize edit ramp button state on undo
This commit is contained in:
parent
7692107e62
commit
4c886ce8ec
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user