[QGIS Commit] r11040 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jul 11 03:55:03 EDT 2009


Author: mhugent
Date: 2009-07-11 03:55:01 -0400 (Sat, 11 Jul 2009)
New Revision: 11040

Modified:
   trunk/qgis/src/app/qgsdbsourceselect.cpp
   trunk/qgis/src/app/qgsnewconnection.h
Log:
Fix for bug 1756, renaming of postgis connection

Modified: trunk/qgis/src/app/qgsdbsourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgsdbsourceselect.cpp	2009-07-10 21:09:53 UTC (rev 11039)
+++ trunk/qgis/src/app/qgsdbsourceselect.cpp	2009-07-11 07:55:01 UTC (rev 11040)
@@ -224,6 +224,7 @@
   {
     nc->saveConnection();
   }
+  populateConnectionList();
 }
 
 void QgsDbSourceSelect::deleteConnection()

Modified: trunk/qgis/src/app/qgsnewconnection.h
===================================================================
--- trunk/qgis/src/app/qgsnewconnection.h	2009-07-10 21:09:53 UTC (rev 11039)
+++ trunk/qgis/src/app/qgsnewconnection.h	2009-07-11 07:55:01 UTC (rev 11040)
@@ -44,6 +44,7 @@
     void on_btnConnect_clicked();
     void on_cb_geometryColumnsOnly_clicked();
   private:
+    QString mOriginalConnName; //store initial name to delete entry in case of rename
     static const int context_id = 929865718;
 };
 



More information about the QGIS-commit mailing list