On Sun, Jul 26, 2009 at 10:58 PM, Vladimir Kokovic'<vladimir.koko...@a-asoft.com> wrote: > Hi, > > After the changed grid editor, now in Kubuntu 9:04 - Jaunty, > pgadmin3 on any table in the Data View when trying to copy contents of grid > cell with Ctrl-C make core dump.
OK, tracked it down eventually. The following patch (which I'll commit in a minute) should solve it: Index: pgadmin/frm/frmEditGrid.cpp =================================================================== --- pgadmin/frm/frmEditGrid.cpp (revision 7984) +++ pgadmin/frm/frmEditGrid.cpp (working copy) @@ -1487,6 +1487,7 @@ void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler); void BeginEdit(int row, int col, wxGrid* grid); bool EndEdit(int row, int col, wxGrid* grid); + wxString GetValue() const; protected: void DoBeginEdit(const wxString& startValue); @@ -1541,6 +1542,10 @@ return changed; } +wxString sqlGridTextEditor::GetValue() const +{ + return Text()->GetText(); +} class sqlGridNumericEditor : public wxGridCellTextEditor { Note that it only affects HEAD, not 1.10.x. Thanks for the report! -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support