Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix setting min in raster histogram using mouse also zooms chart
  • Loading branch information
nyalldawson committed Apr 11, 2015
1 parent 28b5217 commit 325b824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/raster/qgsrasterhistogramwidget.cpp
Expand Up @@ -1025,7 +1025,7 @@ void QgsRasterHistogramWidget::on_btnHistoMin_toggled()
QApplication::setOverrideCursor( Qt::PointingHandCursor );
}
if ( mHistoZoomer != NULL )
mHistoZoomer->setEnabled( ! btnHistoMax->isChecked() );
mHistoZoomer->setEnabled( ! btnHistoMin->isChecked() );
mHistoPicker->setEnabled( btnHistoMin->isChecked() );
}
updateHistoMarkers();
Expand Down

0 comments on commit 325b824

Please sign in to comment.