Changeset 2243


Ignore:
Timestamp:
May 16, 2011 11:51:02 AM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/xyresult.tcl

    r2241 r2243  
    353353    foreach obj $_dlist {
    354354        if {[info exists _dataobj2raise($obj)] && $_dataobj2raise($obj)} {
    355             set i [lsearch -exact $dlist $obj]
    356             if {$i >= 0} {
    357                 set dlist [lreplace $dlist $i $i]
    358                 lappend dlist $obj
    359             }
    360         }
    361     }
    362     return $dlist
     355            lappend top $obj
     356        } else {
     357            lappend bottom $obj
     358        }
     359    }
     360    set _dlist [concat $bottom $top]
     361    return $_dlist
    363362}
    364363
Note: See TracChangeset for help on using the changeset viewer.