summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-10-11 15:11:30 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-10-11 15:11:30 +0200
commitc29edff595cff9d43a607c15b5af6e2ec101263a (patch)
tree0906a75896c4004c25f2717e5b0581284cbf72e5
parenta6cc39e45a4464a037f82743e5b6a74a0df64036 (diff)
downloadtuxcmd-c29edff595cff9d43a607c15b5af6e2ec101263a.tar.xz
Connection Manager: Fix a typo preventing to restore last used item properly
-rw-r--r--UConfig.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/UConfig.pas b/UConfig.pas
index f384c32..9da4f91 100644
--- a/UConfig.pas
+++ b/UConfig.pas
@@ -924,7 +924,7 @@ begin
if Sections.Count > 0 then
for i := 0 to Sections.Count - 1 do
if Sections[i] = '__General' then begin
- ConfConnMgrActiveItem := IniFile.ReadInteger('__General', 'ConfConnMgrActiveItem', ConfConnMgrActiveItem);
+ ConfConnMgrActiveItem := IniFile.ReadInteger('__General', 'ConnMgrActiveItem', ConfConnMgrActiveItem);
end else begin
Item := TConnMgrItem.Create;
with Item do begin