ui.gadgets.tables: clicking in empty area no longer notifies selection model
							parent
							
								
									d56e818beb
								
							
						
					
					
						commit
						328c6d02f5
					
				| 
						 | 
				
			
			@ -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 ;
 | 
			
		||||
 | 
			
		||||
<PRIVATE
 | 
			
		||||
 | 
			
		||||
: 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>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue