Skip to content
Permalink
Browse files

Fix the remembering of which postgres connection was last

selected in the db source select dialog box (used to work)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5275 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Apr 14, 2006
1 parent 03f41c5 commit d5d3ff86dbb1d1c6a17216b954bd78092d63b140
Showing with 7 additions and 0 deletions.
  1. +6 −0 src/gui/qgsdbsourceselect.cpp
  2. +1 −0 src/gui/qgsdbsourceselect.h
@@ -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)
@@ -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:

0 comments on commit d5d3ff8

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