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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



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())




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group