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

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix an issue with tab keypress on frmQuery.
Date: 2010-08-19 20:13:32
Message-ID: 201008192013.o7JKDWbR030887@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2010-08-20 06:58:21 [pgAdmin III] #225: Database designer
Previous Message pgAdmin Trac 2010-08-19 15:28:55 Re: [pgAdmin III] #185: Allow the user to disconnect individual databases