Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r4294 - trunk/pgadmin3/src/slony

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4294 - trunk/pgadmin3/src/slony
Date: 2005-06-09 15:10:03
Message-ID: 200506091510.j59FA3Wx016109@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: dpage
Date: 2005-06-09 16:10:03 +0100 (Thu, 09 Jun 2005)
New Revision: 4294

Modified:
   trunk/pgadmin3/src/slony/dlgRepCluster.cpp
Log:
Check the correct object for the cluster name.

Modified: trunk/pgadmin3/src/slony/dlgRepCluster.cpp
===================================================================
--- trunk/pgadmin3/src/slony/dlgRepCluster.cpp	2005-06-09 14:45:20 UTC (rev 4293)
+++ trunk/pgadmin3/src/slony/dlgRepCluster.cpp	2005-06-09 15:10:03 UTC (rev 4294)
@@ -617,7 +617,10 @@
             (!slony1BaseScript.IsEmpty() && !slony1FunctionScript.IsEmpty() && !slony1XxidScript.IsEmpty()),
             _("Slony-I creation scripts not available; only joining possible."));
 
-        CheckValid(enable, !txtClusterName->GetValue().IsEmpty(), _("Please specify name."));
+        if (chkJoinCluster->GetValue())
+            CheckValid(enable, !cbClusterName->GetValue().IsEmpty(), _("Please select a cluster name."));
+        else
+            CheckValid(enable, !txtClusterName->GetValue().IsEmpty(), _("Please specify name."));
 
         long nodeId = StrToLong(txtNodeID->GetValue());
         CheckValid(enable, nodeId > 0, _("Please specify local node ID."));


pgadmin-hackers by date

Next:From: Dave PageDate: 2005-06-09 15:17:42
Subject: Re: Missing "New Node"
Previous:From: svnDate: 2005-06-09 14:45:20
Subject: SVN Commit by dpage: r4293 - trunk/pgadmin3/src/slony

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group