Skip to content
Permalink
Browse files

Fix histogram refreshig

  • Loading branch information
borysiasty committed Nov 8, 2017
1 parent 1119dc8 commit 845310091dcf7bacb64b8f921498d5701ff3097f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsrasterlayerproperties.cpp
@@ -1488,9 +1488,9 @@ void QgsRasterLayerProperties::optionsStackedWidget_CurrentChanged( int index )
if ( !mHistogramWidget )
return;

if ( index == 5 )
if ( index == mOptStackedWidget->indexOf( mOptsPage_Histogram ) )
{
mHistogramWidget->setActive( false );
mHistogramWidget->setActive( true );
}
else
{

0 comments on commit 8453100

Please sign in to comment.
You can’t perform that action at this time.