From 328c6d02f53a5657eda9d1fc4123df344a67ed1a Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 6 Jul 2009 23:19:26 -0500 Subject: [PATCH] ui.gadgets.tables: clicking in empty area no longer notifies selection model --- basis/ui/gadgets/tables/tables.factor | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/basis/ui/gadgets/tables/tables.factor b/basis/ui/gadgets/tables/tables.factor index 390e652ac6..3beb0af79f 100644 --- a/basis/ui/gadgets/tables/tables.factor +++ b/basis/ui/gadgets/tables/tables.factor @@ -313,13 +313,14 @@ PRIVATE> if ; : row-action? ( table -- ? ) - [ [ mouse-row ] keep valid-line? ] - [ single-click?>> hand-click# get 2 = or ] bi and ; + single-click?>> hand-click# get 2 = or ;