summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/draw.go b/draw.go
index c59af83..20081ec 100644
--- a/draw.go
+++ b/draw.go
@@ -224,11 +224,13 @@ func (rs *RepoStatus) drawGitCommands() {
func (rs *RepoStatus) SetVersion(a, b, c string, reason string) {
- rs.major.SetText(a)
- rs.minor.SetText(b)
- rs.revision.SetText(c)
+ rs.major.SetText(a)
+ rs.minor.SetText(b)
+ rs.revision.SetText(c)
- rs.versionMessage.SetLabel(reason)
+ rs.versionMessage.SetLabel(reason)
+ rs.versionMessage.SetText(reason)
+ // rs.versionMessage.SetValue(reason)
}
func (rs *RepoStatus) setTag() bool {