Fix non restoring of used database from last session

This commit is contained in:
Ansgar Becker
2010-04-08 23:21:48 +00:00
parent 5f9129bef2
commit 2c319fb80a

View File

@@ -1718,7 +1718,7 @@ begin
// Open server-specific registry-folder.
// relative from already opened folder!
OpenRegistry(SessionName);
MainReg.WriteString( REGNAME_LASTUSEDDB, ActiveDatabase );
MainReg.WriteString( REGNAME_LASTUSEDDB, Connection.Database );
MainReg.WriteString( REGNAME_ONLYDBS, comboOnlyDBs.Items.Text );
// Post pending UPDATE