We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d4c24e commit 274cc6cCopy full SHA for 274cc6c
src/providers/ogr/qgsogrdbsourceselect.cpp
@@ -119,7 +119,7 @@ void QgsOgrDbSourceSelect::on_cbxAllowGeometrylessTables_stateChanged( int )
119
120
void QgsOgrDbSourceSelect::on_mTablesTreeView_clicked( const QModelIndex &index )
121
{
122
- mBuildQueryButton->setEnabled( index.parent().isValid() );
+ mBuildQueryButton->setEnabled( index.parent().isValid() && mTablesTreeView->currentIndex().data( Qt::UserRole + 2 ) != QStringLiteral( "Raster" ) );
123
}
124
125
void QgsOgrDbSourceSelect::on_mTablesTreeView_doubleClicked( const QModelIndex &index )
0 commit comments