From fbf57e0e2fe3c18451b0a1fc9fce4a2f75a3b603 Mon Sep 17 00:00:00 2001 From: g_j_m Date: Wed, 23 Aug 2006 05:32:50 +0000 Subject: [PATCH] On first displaying the postgres connection details dialog box, ensure that the 'where to search' toggles are consistent. git-svn-id: http://svn.osgeo.org/qgis/trunk@5725 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/gui/qgsnewconnection.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/qgsnewconnection.cpp b/src/gui/qgsnewconnection.cpp index 85559e09a11..a8a6d792718 100644 --- a/src/gui/qgsnewconnection.cpp +++ b/src/gui/qgsnewconnection.cpp @@ -53,6 +53,9 @@ QgsNewConnection::QgsNewConnection(QWidget *parent, const QString& connName, Qt: if ( ! settings.readBoolEntry(key + "/geometrycolumnsOnly", false)) s = Qt::Unchecked; cb_geometryColumnsOnly->setCheckState(s); + // Ensure that cb_plublicSchemaOnly is set correctly + on_cb_geometryColumnsOnly_clicked(); + if (settings.readEntry(key + "/save") == "true") { txtPassword->setText(settings.readEntry(key + "/password"));