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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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())

Browse pgadmin-hackers by date

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