]> gitweb.factorcode.org Git - factor.git/commitdiff
fixed ui.gadgets.tables multi-selection bug
authorSam Anklesaria <sam@Tintin.local>
Thu, 6 Aug 2009 21:31:35 +0000 (16:31 -0500)
committerSam Anklesaria <sam@Tintin.local>
Thu, 6 Aug 2009 21:31:35 +0000 (16:31 -0500)
basis/ui/gadgets/tables/tables.factor

index f548c10606d7f6716b5926d44711bd632847469e..8c400dc68c341cce0acd3a0427630ee2c7f18aa6 100644 (file)
@@ -281,7 +281,7 @@ PRIVATE>
 <PRIVATE
 
 : set-table-model ( model value multiple? -- )
-    [ multiple>single drop ] unless swap set-model ;
+    [ values ] [ multiple>single drop ] if swap set-model ;
 
 : update-selected ( table -- )
     [