Re: Bug#364787: pgadmin3: pressing delete key on
Re: Bug#364787: pgadmin3: pressing delete key on
От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
> -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of > Edward Di Geronimo Jr. > Sent: 15 May 2006 15:09 > To: pgadmin-hackers@postgresql.org > Subject: Re: [pgadmin-hackers] Bug#364787: pgadmin3: pressing > delete key on > > Quoting Dave Page : > > > 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