Overview
| Artifact ID: | 606bf660b4cb1cf995a9a964737ba241994106d8 |
|---|---|
| Ticket: | 1177368fffffffffffffffffffffffffffffffff
tk_getOpenFile -multiple doesn't allow selecting multiple fi |
| User & Date: | nobody on 2005-04-05 21:00:13 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Here's a fix that patches the problem. To test, just do tk_getOpenFile -multiple 73a74 > 84a86 > 87a90 > 100a104 > 106a111 > incr ind +1 109c114 < for {} {$ind >= 0} {incr ind -1} { --- > while {$ind >= 0} { 112c117 < set last $ind --- > set last $ind 114a120 > incr ind -1 116d121 < 119a125 > 120a127 > 121a129 > 122a131 > 202c211543,544c552,566 < IconList_Selection $w clear 0 end < IconList_Selection $w set $i --- > > set noset 0 > > if { !$data(-multiple) } { > IconList_Selection $w clear 0 end > } else { > if { [IconList_Selection $w includes $i] } { > IconList_Selection $w clear $i $i > set noset 1 > } > } > > if { !$noset } { > IconList_Selection $w set $i > } 550d571 < 568c589 < --- > 579d599 < IconList_Selection $w clear 0 end 586a607 > 595c616,620 < IconList_Selection $w clear 0 end --- > > if { !$data(-multiple) } { > IconList_Selection $w clear 0 end > } > 596a622 > < {-multiple "" "" "0"} --- > {-multiple "" "" "1"} The version is - # # RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.7 2004/09/10 22:28:30 dkf Exp $ # I don't know how this ever worked anywhere. Oh well..... Thanks. JCC chillhuman (at) excite (dot) com - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "16. Commands A-H"
- title changed to:
tk_getOpenFile -multiple doesn't allow selecting multiple fi
- type changed to: "Bug"