chiark / gitweb /
where-vessels: disable "Show" for smash ownership when no notes
[ypp-sc-tools.main.git] / yarrg / where-vessels
index b961e4e..78a2954 100755 (executable)
@@ -675,6 +675,7 @@ proc make-smashers {} {
     glset smash_owner [expr {[have-ownership] ? 0 : 3}]
     set cw [make-radio-smasher owner "Lock/\nowner" smash_owner \
                {Show Yours? {For you} Lock Hide} 2 3]
+    if {![have-notes]} { $cw.0 configure -state disabled }
     if {![have-ownership]} {
        foreach ix {1 2} { $cw.$ix configure -state disabled }
     }