Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Use a text editor for money columns so that they can be properly edit…
Browse files Browse the repository at this point in the history
…ed, per Phuoc Trong Chu

git-svn-id: svn://svn.pgadmin.org/trunk@5441 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
dpage committed Oct 9, 2006
1 parent 46aec72 commit 0a9ffe5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frm/frmEditGrid.cpp
Expand Up @@ -1716,6 +1716,10 @@ sqlTable::sqlTable(pgConn *conn, pgQueryThread *_thread, const wxString& tabName
editor = new sqlGridNumericEditor();
break;
case PGOID_TYPE_MONEY:
columns[i].numeric = false;
columns[i].attr->SetReadOnly(false);
editor = new wxGridCellTextEditor();
break;
case PGOID_TYPE_NUMERIC:
{
columns[i].numeric = true;
Expand Down

0 comments on commit 0a9ffe5

Please sign in to comment.