Skip to content

Commit 325b824

Browse files
committed
Fix setting min in raster histogram using mouse also zooms chart
1 parent 28b5217 commit 325b824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/raster/qgsrasterhistogramwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ void QgsRasterHistogramWidget::on_btnHistoMin_toggled()
10251025
QApplication::setOverrideCursor( Qt::PointingHandCursor );
10261026
}
10271027
if ( mHistoZoomer != NULL )
1028-
mHistoZoomer->setEnabled( ! btnHistoMax->isChecked() );
1028+
mHistoZoomer->setEnabled( ! btnHistoMin->isChecked() );
10291029
mHistoPicker->setEnabled( btnHistoMin->isChecked() );
10301030
}
10311031
updateHistoMarkers();

0 commit comments

Comments
 (0)