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

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix loss of column changes through table properties
Date: 2012-01-07 19:03:18
Message-ID: E1RjbXy-0000gw-93@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2012-01-07 19:03:55 Re: [pgAdmin III] #330: Column changes through table properties lost when re-editing
Previous Message pgAdmin Trac 2012-01-07 18:57:33 Re: [pgAdmin III] #330: Column changes through table properties lost when re-editing