summaryrefslogtreecommitdiff
path: root/addRepo.go
diff options
context:
space:
mode:
Diffstat (limited to 'addRepo.go')
-rw-r--r--addRepo.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/addRepo.go b/addRepo.go
index 279892c..f2555f7 100644
--- a/addRepo.go
+++ b/addRepo.go
@@ -81,6 +81,10 @@ func (c *controlBox) addRepo(path string) {
c.dirtyL.SetText("false")
}
+ if c.GoPath.String() == "" {
+ c.GoPath.SetText(c.status.GoPath())
+ }
+
lasttag := c.status.GetLastTagVersion()
if argv.Release {
debversion = c.status.DebianReleaseVersion()