Skip to content

Commit

Permalink
fix #4694
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 23, 2011
1 parent 3650986 commit 1bc3975
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp
Expand Up @@ -175,8 +175,10 @@ void QgsGraduatedSymbolRendererV2Widget::classifyGraduated()
mode = QgsGraduatedSymbolRendererV2::Quantile;

// create and set new renderer
QApplication::setOverrideCursor( Qt::WaitCursor );
QgsGraduatedSymbolRendererV2* r = QgsGraduatedSymbolRendererV2::createRenderer(
mLayer, attrName, classes, mode, mGraduatedSymbol, ramp );
QApplication::restoreOverrideCursor();
if ( !r )
{
QMessageBox::critical( this, tr( "Error" ), tr( "Renderer creation has failed." ) );
Expand Down Expand Up @@ -303,7 +305,6 @@ void QgsGraduatedSymbolRendererV2Widget::changeRange( int rangeIdx )
populateRanges();

}

}

void QgsGraduatedSymbolRendererV2Widget::addClass()
Expand Down Expand Up @@ -390,5 +391,3 @@ void QgsGraduatedSymbolRendererV2Widget::refreshSymbolView()
{
populateRanges();
}


0 comments on commit 1bc3975

Please sign in to comment.