minor bug on directory selections
svn: r4454
This commit is contained in:
parent
97c30012ed
commit
477528c805
|
@ -430,7 +430,7 @@
|
|||
[selections (send path-list get-selections)]
|
||||
[many? (and multi? (equal? "" sel)
|
||||
(<= 1 (length selections)))])
|
||||
(cond [(and isdir? (or (not (equal? "" sel)) (root? sel0)))
|
||||
(cond [(and isdir? (not (equal? "" sel0)))
|
||||
;; chose a directory -- go there
|
||||
(set-dir path) (send* text* (erase) (select-all)) (set-ok?)]
|
||||
[(and /? isfile?)
|
||||
|
|
Loading…
Reference in New Issue
Block a user