Thread: SVN Commit by dpage: r5610 - in trunk/pgadmin3/src: frm include

SVN Commit by dpage: r5610 - in trunk/pgadmin3/src: frm include

From
svn@pgadmin.org
Date:
Author: dpage

Date: 2006-11-09 10:25:17 +0000 (Thu, 09 Nov 2006)

New Revision: 5610

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5610&view=rev

Log:
Improve the handling of pasted rows and the Undo button in the edit grid, per Erwin:

1) When a new row paste occurs, the cursor cell is moved to the position of each column as data is inserted, such that
itwill be on the last affected cell when the paste has completed. This ensures that any undo operation will happen on
thecorrect row. 

2) When the new row paste is completed, the Save and Undo options are enabled.

3) When an Undo has been performed, the Undo and Save buttons are disabled.


Modified:
   trunk/pgadmin3/src/frm/frmEditGrid.cpp
   trunk/pgadmin3/src/include/frmEditGrid.h