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

SVN Commit by dpage: r4623 - trunk/pgadmin3/src/dlg

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4623 - trunk/pgadmin3/src/dlg
Date: 2005-10-30 16:35:39
Message-ID: 200510301635.j9UGZdRV009235@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: dpage
Date: 2005-10-30 16:35:39 +0000 (Sun, 30 Oct 2005)
New Revision: 4623

Modified:
   trunk/pgadmin3/src/dlg/dlgProperty.cpp
Log:
Don't allow ACL modification to enable to OK button for new objects


Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgProperty.cpp	2005-10-30 16:34:34 UTC (rev 4622)
+++ trunk/pgadmin3/src/dlg/dlgProperty.cpp	2005-10-30 16:35:39 UTC (rev 4623)
@@ -1156,7 +1156,9 @@
 
 void dlgSecurityProperty::EnableOK(bool enable)
 {
-    if (securityChanged)
+	// Don't enable the OK button if the object isn't yet created,
+	// leave that to the object dialog.
+    if (securityChanged && GetObject())
     {
         wxString sql=GetSql();
         if (sql.IsEmpty())


pgadmin-hackers by date

Next:From: svnDate: 2005-10-30 16:36:08
Subject: SVN Commit by dpage: r4624 - trunk/pgadmin3
Previous:From: svnDate: 2005-10-30 16:34:34
Subject: SVN Commit by dpage: r4622 - trunk/pgadmin3/src/frm

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