We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3f044 commit 70e1c6aCopy full SHA for 70e1c6a
1 file changed
src/providers/postgres/qgspgsourceselect.cpp
@@ -661,5 +661,6 @@ void QgsPgSourceSelect::setSearchExpression( const QString& regexp )
661
void QgsPgSourceSelect::treeWidgetSelectionChanged( const QItemSelection &selected, const QItemSelection &deselected )
662
{
663
Q_UNUSED( deselected )
664
- mAddButton->setEnabled( !selected.isEmpty() );
+ Q_UNUSED( selected )
665
+ mAddButton->setEnabled( !mTablesTreeView->selectionModel()->selection().isEmpty() );
666
}
0 commit comments