From 342f1b37d7d34a880da5d249fe95a8bf547a05cd Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 13 Feb 2013 07:51:53 +0000 Subject: [PATCH] Fix setting for name of selected database, which must be a session setting, not a global one. See http://www.heidisql.com/forum.php?t=12101 --- source/helpers.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/helpers.pas b/source/helpers.pas index 53d18087..160b7833 100644 --- a/source/helpers.pas +++ b/source/helpers.pas @@ -3013,7 +3013,7 @@ begin InitSetting(asLastActiveSession, 'LastActiveSession', 0, False, ''); InitSetting(asAutoReconnect, 'AutoReconnect', 0, False); InitSetting(asRestoreLastUsedDB, 'RestoreLastUsedDB', 0, True); - InitSetting(asLastUsedDB, 'lastUsedDB', 0, False, ''); + InitSetting(asLastUsedDB, 'lastUsedDB', 0, False, '', True); InitSetting(asTreeBackground, 'TreeBackground', clNone, False, '', True); InitSetting(asFontName, 'FontName', 0, False, 'Courier New'); InitSetting(asFontSize, 'FontSize', 9);