Thread: pgAdmin III commit: Fix loss of column changes through table properties

pgAdmin III commit: Fix loss of column changes through table properties

From
Guillaume Lelarge
Date:
Fix loss of column changes through table properties when re-editing

When the user validates its changes on the column properties dialog, we
create another pgColumn containing all the changes made. We store it in a new
column of the columns listview. When the user wants to see the changed column
properties dialog, we use this new object to make sure the column dialog shows
the changed, but not yet applied, properties.

Report from Thom Brown.
Fixes #330.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=138e4503cc53cb029a81c46012b94c2a53070426

Modified Files
--------------
CHANGELOG                       |    2 +
pgadmin/dlg/dlgColumn.cpp       |   63 ++++++++++++++++++++++++++++++
pgadmin/dlg/dlgTable.cpp        |   81 +++++++++++++++++++++++---------------
pgadmin/include/dlg/dlgColumn.h |    4 ++
pgadmin/include/dlg/dlgTable.h  |   13 ++++++
pgadmin/schema/pgColumn.cpp     |    4 +-
6 files changed, 133 insertions(+), 34 deletions(-)