Skip to content

Commit 5b1d73e

Browse files
committed
raster layer properties: fix add values from display action
1 parent 9e3a5b5 commit 5b1d73e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app/qgsrasterlayerproperties.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,13 @@ void QgsRasterLayerProperties::on_pbnAddValuesFromDisplay_clicked()
10881088
mMapCanvas->setMapTool( mPixelSelectorTool );
10891089
//Need to work around the modality of the dialog but can not just hide() it.
10901090
setModal( false );
1091-
lower();
1091+
1092+
showMinimized();
1093+
1094+
//Q_ASSERT( parentWidget()->parentWidget() );
1095+
parentWidget()->activateWindow();
1096+
parentWidget()->raise();
1097+
//lower();
10921098
}
10931099
}
10941100

0 commit comments

Comments
 (0)