Re: Bug#364787: pgadmin3: pressing delete key on
- From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
- To: "Edward Di Geronimo Jr." <edigeronimo(at)xtracards(dot)com>, <pgadmin-hackers(at)postgresql(dot)org>
- Subject: Re: Bug#364787: pgadmin3: pressing delete key on
- Date: Mon, 15 May 2006 15:43:12 +0100
- Message-id: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4013881B4(at)ratbert(dot)vale-housing(dot)co(dot)uk>
> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Edward Di Geronimo Jr.
> Sent: 15 May 2006 15:09
> To: pgadmin-hackers(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] Bug#364787: pgadmin3: pressing
> delete key on
>
> Quoting Dave Page <dpage(at)vale-housing(dot)co(dot)uk>:
>
> > I'm sure that was working, but I grant you it's not now. I'm not
> > sure how to make it work now though - what appears to be
> happening
> > is that the individual cell is capturing the delete event
> and using
> > it to delete the contents rather than the selected row.
> >
> > Ed ran into a similar problem recently - I wonder if he has
> any ideas?
>
> Looking at the code, there are two handlers for the Delete key.
> OnDelete, which tries to delete a row, and OnKey, which just
> deletes the current cell. It looks like the two handlers need
> to be merged into one.
Bah, how the heck did I miss OnKey()!!! OK, fixed for 1.6.0 now.
Thanks Ed.
/D
Home |
Main Index |
Thread Index