Skip to content

Commit

Permalink
Merge pull request #30375 from qgis/backport-30344-to-release-3_8
Browse files Browse the repository at this point in the history
[Backport release-3_8] update number of classes in the graduated renderer (fix #29796)
  • Loading branch information
alexbruy committed Jun 25, 2019
2 parents 4104f44 + 3b6e672 commit d5a661e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/symbology/qgsgraduatedsymbolrendererwidget.cpp
Expand Up @@ -818,6 +818,11 @@ void QgsGraduatedSymbolRendererWidget::refreshRanges( bool reset )
return;

mModel->updateSymbology( reset );

disconnectUpdateHandlers();
spinGraduatedClasses->setValue( mRenderer->ranges().count() );
connectUpdateHandlers();

emit widgetChanged();
}

Expand Down

0 comments on commit d5a661e

Please sign in to comment.