Le 15/03/2011 07:52, Timon a écrit : > it was already discussed. I have same bug, but Guillaume Lelarge > <guilla...@lelarge.info> unable to reproduce it. > Using git bisect I found commit which broke this feature. This is > http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=c4a350002d8e7bdb77bf5d8eb1c5eb4efade6aff > > 2011/3/15 Claudio Freire <klaussfre...@gmail.com>: >> Hey, I just did a git pull and built from source (on debian squeeze), >> and I cannot copy & paste from the SQL results panel. >> >> Copy & paste there is pretty useful ;-) >> >> Any chance to get it back? >>
Could you try this patch? -- Guillaume http://www.postgresql.fr http://dalibo.com
diff --git a/pgadmin/frm/frmQuery.cpp b/pgadmin/frm/frmQuery.cpp index f062256..e832fe7 100644 --- a/pgadmin/frm/frmQuery.cpp +++ b/pgadmin/frm/frmQuery.cpp @@ -1375,7 +1375,7 @@ void frmQuery::updateMenu(wxObject *obj) if (closing) return; - wxWindow *wnd = FindFocus(); + wxWindow *wnd = currentControl(); if (wnd == sqlQuery || wnd == sqlResult || wnd == msgResult || wnd == msgHistory || wnd == scratchPad) { if (wnd == sqlQuery)
-- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support