Skip to content
Permalink
Browse files

raster layer properties: fix add values from display action

  • Loading branch information
slarosa committed Feb 6, 2016
1 parent 9e3a5b5 commit 5b1d73e96d16304c92a2e19923ead1dacbfc2ed3
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/app/qgsrasterlayerproperties.cpp
@@ -1088,7 +1088,13 @@ void QgsRasterLayerProperties::on_pbnAddValuesFromDisplay_clicked()
mMapCanvas->setMapTool( mPixelSelectorTool );
//Need to work around the modality of the dialog but can not just hide() it.
setModal( false );
lower();

showMinimized();

//Q_ASSERT( parentWidget()->parentWidget() );
parentWidget()->activateWindow();
parentWidget()->raise();
//lower();
}
}

0 comments on commit 5b1d73e

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