diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-12-19 21:30:31 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-12-19 21:30:31 (GMT) |
commit | 21ae37c5a9db158c6c4d54a0fa75b8e0b526ebed (patch) | |
tree | 312b750afe3bdbe92b5727e2e552da8ed1751b7f /ds9/library/mbin.tcl | |
parent | 50f1824860159ebdb3896e14647a4562edf658d2 (diff) | |
parent | 0587fffc5409653d44546dbcebc7a497954cbb46 (diff) | |
download | blt-21ae37c5a9db158c6c4d54a0fa75b8e0b526ebed.zip blt-21ae37c5a9db158c6c4d54a0fa75b8e0b526ebed.tar.gz blt-21ae37c5a9db158c6c4d54a0fa75b8e0b526ebed.tar.bz2 |
Merge branch 'devel'
Diffstat (limited to 'ds9/library/mbin.tcl')
-rw-r--r-- | ds9/library/mbin.tcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ds9/library/mbin.tcl b/ds9/library/mbin.tcl index 9ada431..a0c8afd 100644 --- a/ds9/library/mbin.tcl +++ b/ds9/library/mbin.tcl @@ -323,11 +323,14 @@ proc UpdateBinMenu {} { if {[$current(frame) has fits]} { if {[$current(frame) has fits bin]} { $ds9(mb) entryconfig [msgcat::mc {Bin}] -state normal + ConfigureButtons bin normal } else { $ds9(mb) entryconfig [msgcat::mc {Bin}] -state disabled + ConfigureButtons bin disabled } } else { $ds9(mb) entryconfig [msgcat::mc {Bin}] -state normal + ConfigureButtons bin normal } set bin(function) [$current(frame) get bin function] @@ -336,6 +339,7 @@ proc UpdateBinMenu {} { set bin(buffersize) [$current(frame) get bin buffer size] } else { $ds9(mb) entryconfig [msgcat::mc {Bin}] -state disabled + ConfigureButtons bin disabled } } |