pgAdmin III commit: Fix an issue with tab keypress on frmQuery. - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix an issue with tab keypress on frmQuery.
Date
Msg-id 201008192013.o7JKDWbR030887@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Commit: http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=55e9b5cae1060da39be3a77f181bf413157d6dc3

Log Message
-----------
Fix an issue with tab keypress on frmQuery.

On Windows, a user pressing tab on the scratch pad of the frmQuery window does
not insert a tab character on the scratch pad. It does insert it on the query
textbox.

This fix checks if the user presses tab in the query textbox or in the scratch
pad, and reacts accordingly. If he presses tab on another component, the event
is ignored.

Branch
------
REL-1_12_0_PATCHES

Modified Files
--------------
CHANGELOG                      |    2 ++
pgadmin/frm/frmQuery.cpp       |   22 +++++++++++++++-------
pgadmin/include/frm/frmQuery.h |    3 ++-
3 files changed, 19 insertions(+), 8 deletions(-)


pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #185: Allow the user to disconnect individual databases
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix an issue with tab keypress on frmQuery.