From a4b368f19ef1d124f0bc29142f481b0b171f19e6 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 30 Jan 2019 22:35:40 +0000
Subject: [PATCH] Bug-fix: was storing the selected directory's *name* in the
 configuration (tickit.ini) rather than the internal code. Thanks for the
 report, Ragnarok.

---
 exec/tickitcfg.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/tickitcfg.js b/exec/tickitcfg.js
index 5af024ab39..1550c25062 100644
--- a/exec/tickitcfg.js
+++ b/exec/tickitcfg.js
@@ -47,7 +47,7 @@ function pick_dir(obj)
 			}
 			dir = uifc.list(WIN_SAV|WIN_ACT|WIN_BOT, "Select Dir", dirs, dctx);
 			if (dir >= 0) {
-				return dirs[dir];
+				return dircodes[dir];
 			}
 		}
 	}
-- 
GitLab