Revert modeless dialog (used for web inspector)

This commit is contained in:
Alessandro Pasotti 2019-10-16 11:06:13 +02:00 committed by Nyall Dawson
parent 58f76de4af
commit 6f6cbc756f

View File

@ -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