Author: dpage
Date: 2005-09-26 20:10:07 +0100 (Mon, 26 Sep 2005)
New Revision: 4469
Modified:
trunk/pgadmin3/src/agent/dlgStep.cpp
Log:
Must stop copying Andreas' code :-)
Modified: trunk/pgadmin3/src/agent/dlgStep.cpp
===================================================================
--- trunk/pgadmin3/src/agent/dlgStep.cpp 2005-09-26 14:45:06 UTC (rev 4468)
+++ trunk/pgadmin3/src/agent/dlgStep.cpp 2005-09-26 19:10:07 UTC (rev 4469)
@@ -146,7 +146,7 @@
CheckValid(enable, sqlBox->GetLength() > 0, _("Please specify code to execute."));
// Disable/enable the database combo
- if ((wxT("sb")[rbxKind->GetSelection()]) == 'b')
+ if (rbxKind->GetSelection() == 1)
{
cbDatabase->SetSelection(0);
cbDatabase->Enable(false);