mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-08 00:02:35 -05:00
correctly set method when updating classes
This commit is contained in:
parent
ac1ce4f4ed
commit
b6278aeb25
@ -412,10 +412,8 @@ void QgsGraduatedSymbolRenderer::updateClasses( QgsVectorLayer *vlayer, Mode mod
|
||||
|
||||
QString methodId = methodIdFromMode( mode );
|
||||
QgsClassificationMethod *method = QgsApplication::classificationMethodRegistry()->method( methodId );
|
||||
if ( method )
|
||||
{
|
||||
method->setSymmetricMode( useSymmetricMode, symmetryPoint, astride );
|
||||
}
|
||||
method->setSymmetricMode( useSymmetricMode, symmetryPoint, astride );
|
||||
setClassificationMethod( method );
|
||||
|
||||
updateClasses( vlayer, nclasses );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user