Skip to content

Commit

Permalink
Fix histogram refreshig
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Nov 8, 2017
1 parent 1119dc8 commit 8453100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit 8453100

Please sign in to comment.