Skip to content

Commit ad3849a

Browse files
author
mhugent
committed
Fix for bug 1756, renaming of postgis connection
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11040 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b3522d7 commit ad3849a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/app/qgsdbsourceselect.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ void QgsDbSourceSelect::editConnection()
224224
{
225225
nc->saveConnection();
226226
}
227+
populateConnectionList();
227228
}
228229

229230
void QgsDbSourceSelect::deleteConnection()

src/app/qgsnewconnection.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class QgsNewConnection : public QDialog, private Ui::QgsNewConnectionBase
4444
void on_btnConnect_clicked();
4545
void on_cb_geometryColumnsOnly_clicked();
4646
private:
47+
QString mOriginalConnName; //store initial name to delete entry in case of rename
4748
static const int context_id = 929865718;
4849
};
4950

0 commit comments

Comments
 (0)