TableView does not require touch events by default 22/42522/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 29 Jun 2015 13:32:43 +0000 (14:32 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 29 Jun 2015 13:34:14 +0000 (06:34 -0700)
- Fixes issue with TextSelection popup.
- TableView inside button was consuming the event and so the button itself was never getting the
  leave or interrupted event to clear state

Change-Id: Ib3eda053053c47096db6f8d676ad4d87bd887e57

dali-toolkit/internal/controls/table-view/table-view-impl.cpp

index f355713..0be26cd 100644 (file)
@@ -1059,7 +1059,7 @@ void TableView::OnControlChildRemove( Actor& child )
 }
 
 TableView::TableView( unsigned int initialRows, unsigned int initialColumns )
-: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS | REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
   mCellData( initialRows, initialColumns ),
   mLayoutingChild( false ),
   mRowDirty( true ),     // Force recalculation first time