ui.gadgets.tables: clicking in empty area no longer notifies selection model
parent
d56e818beb
commit
328c6d02f5
|
@ -313,13 +313,14 @@ PRIVATE>
|
||||||
if ;
|
if ;
|
||||||
|
|
||||||
: row-action? ( table -- ? )
|
: row-action? ( table -- ? )
|
||||||
[ [ mouse-row ] keep valid-line? ]
|
single-click?>> hand-click# get 2 = or ;
|
||||||
[ single-click?>> hand-click# get 2 = or ] bi and ;
|
|
||||||
|
|
||||||
<PRIVATE
|
<PRIVATE
|
||||||
|
|
||||||
: table-button-up ( table -- )
|
: table-button-up ( table -- )
|
||||||
dup row-action? [ row-action ] [ update-selected-value ] if ;
|
dup [ mouse-row ] keep valid-line? [
|
||||||
|
dup row-action? [ row-action ] [ update-selected-value ] if
|
||||||
|
] [ drop ] if ;
|
||||||
|
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue