From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | "Vladimir Kokovic'" <vladimir(dot)kokovic(at)a-asoft(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Kubuntu 9:04 - Jaunty, grid editor Ctrl-c Segmentation fault (core dumped) |
Date: | 2009-07-27 16:12:52 |
Message-ID: | 937d27e10907270912t544b0dd3l92c13d6366f5fd29@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
On Sun, Jul 26, 2009 at 10:58 PM, Vladimir
Kokovic'<vladimir(dot)kokovic(at)a-asoft(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir Kokovic' | 2009-07-27 17:35:37 | Kubuntu 9:04 - Jaunty, grid editor Ctrl-c Segmentation fault (core dumped) |
Previous Message | Vladimir Kokovic' | 2009-07-26 21:58:36 | Kubuntu 9:04 - Jaunty, grid editor Ctrl-c Segmentation fault (core dumped) |