summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/blame.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 4da60ac..9607284 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -879,6 +879,11 @@ method _open_tooltip {cur_w} {
set org [lindex $amov_data $lno]
}
+ if {$dat eq {}} {
+ _hide_tooltip $this
+ return
+ }
+
set cmit [lindex $dat 0]
set tooltip_commit [list $cmit]