Skip to content

Commit

Permalink
Fix the remembering of which postgres connection was last
Browse files Browse the repository at this point in the history
selected in the db source select dialog box (used to work)


git-svn-id: http://svn.osgeo.org/qgis/trunk@5275 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 14, 2006
1 parent acff177 commit 15216d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/qgsdbsourceselect.cpp
Expand Up @@ -149,6 +149,12 @@ void QgsDbSourceSelect::on_btnHelp_clicked()
}
/** End Autoconnected SLOTS **/

// Remember which database is selected
void QgsDbSourceSelect::on_cmbConnections_activated(int)
{
dbChanged();
}

void QgsDbSourceSelect::setLayerType(QString schema,
QString table, QString column,
QString type)
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsdbsourceselect.h
Expand Up @@ -87,6 +87,7 @@ class QgsDbSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
void on_lstTables_itemDoubleClicked(QTableWidgetItem *);
void setSql(QTableWidgetItem *);
void on_btnHelp_clicked();
void on_cmbConnections_activated(int);
void setLayerType(QString schema, QString table, QString column,
QString type);
private:
Expand Down

0 comments on commit 15216d8

Please sign in to comment.