Skip to content
Permalink
Browse files

Fix add button state in postgis source select dialog

  • Loading branch information
m-kuhn committed Jun 6, 2016
1 parent 2c3f044 commit 70e1c6afd829fb9159b9f024c8d2d7d51771a74d
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/postgres/qgspgsourceselect.cpp
@@ -661,5 +661,6 @@ void QgsPgSourceSelect::setSearchExpression( const QString& regexp )
void QgsPgSourceSelect::treeWidgetSelectionChanged( const QItemSelection &selected, const QItemSelection &deselected )
{
Q_UNUSED( deselected )
mAddButton->setEnabled( !selected.isEmpty() );
Q_UNUSED( selected )
mAddButton->setEnabled( !mTablesTreeView->selectionModel()->selection().isEmpty() );
}

0 comments on commit 70e1c6a

Please sign in to comment.
You can’t perform that action at this time.