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.o7JKDWe4030885@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=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(-)

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