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 274cc6c86ce8d42349cc9382bc7874e3dc976994
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrdbsourceselect.cpp
@@ -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.
You can’t perform that action at this time.