Skip to content
Permalink
Browse files
Disable SQL filter when a raster is selected
  • Loading branch information
elpaso committed Sep 8, 2017
1 parent 7d4c24e commit 274cc6c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 )

0 comments on commit 274cc6c

Please sign in to comment.