- Timestamp:
- Dec 4, 2009 5:09:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/profcons.tcl
- Property rcs:date changed from 2002/07/03 21:06:49 to 2002/09/05 18:29:19
- Property rcs:lines changed from +37 -5 to +23 -1
- Property rcs:rev changed from 1.5 to 1.6
r607 r648 470 470 incr i 471 471 } 472 # if there is only 1 choice, select it 473 if {[llength $expmap(phaselist)] == 1} { 474 $expcons(phaselistbox$ic) selection set 0 475 } 472 476 # now insert the histograms into the list 473 477 set i 0 … … 478 482 incr i 479 483 } 484 } 485 # if there is only 1 choice, select it 486 if {[llength $expmap(powderlist)] == 1} { 487 $expcons(histlistbox$ic) selection set 0 480 488 } 481 489 } … … 574 582 set conslist {} 575 583 for {set ic 1} {$ic < 27} {incr ic} { 584 set phases {} 585 set hists {} 576 586 if ![info exists expcons(phaselistbox$ic)] break 577 587 if ![info exists expcons(histlistbox$ic)] break … … 585 595 if {[llength $hists] == [llength $expmap(powderlist)]} { 586 596 set hists "ALL" 597 } 598 if {$hists == ""} { 599 MyMessageBox -icon warning -message \ 600 "Please select at least one histogram before trying to save" \ 601 -parent [winfo toplevel $expgui(consFrame)] 602 return 603 } 604 if {$phases == ""} { 605 MyMessageBox -icon warning -message \ 606 "Please select at least one phase before trying to save" \ 607 -parent [winfo toplevel $expgui(consFrame)] 608 return 587 609 } 588 610 foreach h $hists {
Note: See TracChangeset
for help on using the changeset viewer.