We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a69a9 commit c034d19Copy full SHA for c034d19
src/app/qgsrastercalcdialog.cpp
@@ -111,7 +111,7 @@ void QgsRasterCalcDialog::insertAvailableRasterBands()
111
for ( ; layerIt != layers.constEnd(); ++layerIt )
112
{
113
QgsRasterLayer* rlayer = dynamic_cast<QgsRasterLayer*>( layerIt.value() );
114
- if ( rlayer && !rlayer->usesProvider() )
+ if ( rlayer && rlayer->dataProvider() && rlayer->dataProvider()->name() == "gdal" )
115
116
if ( firstLayer ) //set bounding box / resolution of output to the values of the first possible input layer
117
0 commit comments