Skip to content

Commit

Permalink
raster layer properties: fix add values from display action
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Mar 6, 2016
1 parent 9e3a5b5 commit 5b1d73e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 5b1d73e

Please sign in to comment.