Author: andreas
Date: 2005-06-17 14:03:40 +0100 (Fri, 17 Jun 2005)
New Revision: 4310

Modified:
   trunk/pgadmin3/src/dlg/dlgServer.cpp
Log:
Fix changing initial db

Modified: trunk/pgadmin3/src/dlg/dlgServer.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgServer.cpp        2005-06-17 13:03:10 UTC (rev 
4309)
+++ trunk/pgadmin3/src/dlg/dlgServer.cpp        2005-06-17 13:03:40 UTC (rev 
4310)
@@ -103,7 +103,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);


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to