Re: Enabling SQL text field in the SQL tab of object dialog - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Enabling SQL text field in the SQL tab of object dialog
Date
Msg-id 937d27e10806170045k21e8a309u67dedca2766977fe@mail.gmail.com
Whole thread Raw
In response to Re: Enabling SQL text field in the SQL tab of object dialog  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Enabling SQL text field in the SQL tab of object dialog
List pgadmin-hackers
On Mon, Jun 16, 2008 at 11:07 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
>
> OK, this works on my local branch but I still have one issue with it: if the
> user change the name of a newly created object in the SQL text field, the
> treeview will display the name available in the name field, not the real one
> available in the SQL text field.

The only way I can think to handle that is to refresh the parent
collection, not just the object being modified. That can be
potentially dangerous if the user has another property dialogue for a
sibling object open though (actually that's an issue now iirc - this
would just make it far more likely to occur).

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Enabling SQL text field in the SQL tab of object dialog
Next
From: Guillaume Lelarge
Date:
Subject: Re: Enabling SQL text field in the SQL tab of object dialog