SVN Commit by andreas: r4637 - in trunk/pgadmin3/src: dlg frm

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4637 - in trunk/pgadmin3/src: dlg frm
Date: 2005-11-02 00:00:24
Message-ID: 200511020000.jA200OTL026714@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: andreas
Date: 2005-11-02 00:00:15 +0000 (Wed, 02 Nov 2005)
New Revision: 4637

Modified:
trunk/pgadmin3/src/dlg/dlgSelectConnection.cpp
trunk/pgadmin3/src/frm/frmQuery.cpp
Log:
fix query tool connect annoyance

Modified: trunk/pgadmin3/src/dlg/dlgSelectConnection.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgSelectConnection.cpp 2005-11-01 20:26:38 UTC (rev 4636)
+++ trunk/pgadmin3/src/dlg/dlgSelectConnection.cpp 2005-11-02 00:00:15 UTC (rev 4637)
@@ -151,12 +151,13 @@
if (s->GetConnected() && s->GetConnection()->GetHost() == conn->GetHost() && s->GetConnection()->GetPort() == conn->GetPort())
{
cbServer->SetSelection(cbServer->GetCount()-1);
- wxCommandEvent ev;
- OnChangeServer(ev);
}
}
cbServer->SetFocus();
- btnOK->Disable();
+
+ wxCommandEvent ev;
+ OnChangeServer(ev);
+
return ShowModal();
}

Modified: trunk/pgadmin3/src/frm/frmQuery.cpp
===================================================================
--- trunk/pgadmin3/src/frm/frmQuery.cpp 2005-11-01 20:26:38 UTC (rev 4636)
+++ trunk/pgadmin3/src/frm/frmQuery.cpp 2005-11-02 00:00:15 UTC (rev 4637)
@@ -404,6 +404,7 @@
{
cbConnection->Insert(conn->GetName(), sel, (void*)conn);
cbConnection->SetSelection(sel);
+ OnChangeConnection(ev);
}
else
rc = wxID_CANCEL;

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-11-02 00:01:11 Re: RC1 uploaded
Previous Message Dave Page 2005-11-01 19:35:46 FW: RC1 uploaded