Skip to content

Commit

Permalink
Disable SQL filter when a raster is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 8, 2017
1 parent 7d4c24e commit 274cc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrdbsourceselect.cpp
Expand Up @@ -119,7 +119,7 @@ void QgsOgrDbSourceSelect::on_cbxAllowGeometrylessTables_stateChanged( int )

void QgsOgrDbSourceSelect::on_mTablesTreeView_clicked( const QModelIndex &index )
{
mBuildQueryButton->setEnabled( index.parent().isValid() );
mBuildQueryButton->setEnabled( index.parent().isValid() && mTablesTreeView->currentIndex().data( Qt::UserRole + 2 ) != QStringLiteral( "Raster" ) );
}

void QgsOgrDbSourceSelect::on_mTablesTreeView_doubleClicked( const QModelIndex &index )
Expand Down

0 comments on commit 274cc6c

Please sign in to comment.