Thread: pgAdmin III commit: Fix an issue with tab keypress on frmQuery.

pgAdmin III commit: Fix an issue with tab keypress on frmQuery.

From
Guillaume Lelarge
Date:
Commit: http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=680fb2332a40569fca97de7bc51be4548b0f5306

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
------
master

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