Changeset 457


Ignore:
Timestamp:
Dec 4, 2009 5:06:29 PM (14 years ago)
Author:
toby
Message:

# on 2001/10/14 05:34:23, toby did:
bug fix: fix so that new histogram buttons are disabled when
no phases are present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expgui

    • Property rcs:date changed from 2001/09/25 23:30:11 to 2001/10/14 05:34:23
    • Property rcs:lines changed from +36 -17 to +8 -6
    • Property rcs:rev changed from 1.47 to 1.48
    r449 r457  
    14231423    # disable the add histogram button if no phases are present
    14241424    catch {
    1425         if {[llength $expmap(phaselist)] == 0} {
    1426             $expgui(histFrame).newh configure -state disabled
    1427         } else {
    1428             $expgui(histFrame).newh configure -state normal
     1425        foreach c [winfo children $expgui(histFrame).bb] {
     1426            if {[llength $expmap(phaselist)] == 0} {
     1427                $c configure -state disabled
     1428            } else {
     1429                $c configure -state normal
     1430            } 
    14291431        }
    14301432    }
Note: See TracChangeset for help on using the changeset viewer.