pgAdmin III commit: Fix loss of column changes through table properties - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix loss of column changes through table properties
Date
Msg-id E1RjbXy-0000gw-93@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
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
------
REL-1_14_0_PATCHES

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

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(-)


pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #330: Column changes through table properties lost when re-editing
Next
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #330: Column changes through table properties lost when re-editing