Author: andreas
Date: 2005-06-17 14:03:10 +0100 (Fri, 17 Jun 2005)
New Revision: 4309
Modified:
branches/REL-1_2_0_PATCHES/pgadmin3/src/ui/dlgServer.cpp
Log:
Fix changing initial db
Modified: branches/REL-1_2_0_PATCHES/pgadmin3/src/ui/dlgServer.cpp
===================================================================
--- branches/REL-1_2_0_PATCHES/pgadmin3/src/ui/dlgServer.cpp 2005-06-16 16:08:26 UTC (rev 4308)
+++ branches/REL-1_2_0_PATCHES/pgadmin3/src/ui/dlgServer.cpp 2005-06-17 13:03:10 UTC (rev 4309)
@@ -105,7 +105,7 @@
}
server->iSetPort(StrToLong(txtPort->GetValue()));
server->iSetSSL(cbSSL->GetSelection());
- server->iSetLastDatabase(cbDatabase->GetValue());
+ server->iSetDatabase(cbDatabase->GetValue());
server->iSetUsername(txtUsername->GetValue());
server->iSetNeedPwd(chkNeedPwd->GetValue());
mainForm->execSelChange(server->GetId(), true);