summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doGui.go b/doGui.go
index 608f4e5..92192d3 100644
--- a/doGui.go
+++ b/doGui.go
@@ -28,10 +28,10 @@ func doGui() {
grid := win.Group.RawGrid()
if config.True("PathLock") {
me.goSrcPwd = gadgets.NewOneLiner(grid, "Working Directory")
- me.goSrcPwd.SetText(config.Get("ReposDir"))
+ me.goSrcPwd.SetText(config.Get("gopath"))
} else {
me.goSrcEdit = gadgets.NewBasicEntry(grid, "Working Directory")
- me.goSrcEdit.SetText(config.Get("ReposDir"))
+ me.goSrcEdit.SetText(config.Get("gopath"))
me.goSrcEdit.Custom = func() {
log.Info("updating text to", me.goSrcEdit.String())
}