]> gitweb.factorcode.org Git - factor.git/commitdiff
Swapping call order of 'hook' and 'action' row actions
authorHugo Schmitt <hugows@gmail.com>
Sat, 23 Jan 2010 21:43:10 +0000 (19:43 -0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 28 Aug 2011 00:25:45 +0000 (17:25 -0700)
basis/ui/gadgets/tables/tables.factor

index 77b9ec99edb76bb365d420002cacf86dbe493b50..08b27d2020c1b26cb1234e0d5f0a11a8df994172 100644 (file)
@@ -319,7 +319,7 @@ PRIVATE>
 
 : row-action ( table -- )
     dup selected-row
-    [ swap [ action>> call( value -- ) ] [ dup hook>> call( table -- ) ] bi ]
+    [ swap [ dup hook>> call( table -- ) ] [ action>> call( value -- ) ] bi ]
     [ 2drop ]
     if ;