From 6f6cbc756f2c5501030b3f08b30d91267d6f0ef0 Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Wed, 16 Oct 2019 11:06:13 +0200 Subject: [PATCH] Revert modeless dialog (used for web inspector) --- src/app/qgisapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index e42640fe770..886dd39d648 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -14206,7 +14206,7 @@ void QgisApp::showLayerProperties( QgsMapLayer *mapLayer ) // Cannot use exec here due to raster transparency map tool: // in order to pass focus to the canvas, the dialog needs to // be hidden and shown in non-modal mode. - rasterLayerPropertiesDialog->setModal( false ); + rasterLayerPropertiesDialog->setModal( true ); rasterLayerPropertiesDialog->show(); // Delete (later, for safety) since dialog cannot be reused without // updating code