From 0f3ba992b96ee01a227a4fdbf2f85f29bedb1747 Mon Sep 17 00:00:00 2001 From: suhyung Eom Date: Mon, 2 Nov 2015 15:42:11 +0900 Subject: [PATCH] Fixed bug when delete first row in the tableView Signed-off-by: suhyung Eom Change-Id: Icab6a391119c35d2e7a56c3ce397927b4b84d2f5 --- dali-toolkit/internal/controls/table-view/table-view-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali-toolkit/internal/controls/table-view/table-view-impl.cpp b/dali-toolkit/internal/controls/table-view/table-view-impl.cpp index f482fdd..800ac6e 100644 --- a/dali-toolkit/internal/controls/table-view/table-view-impl.cpp +++ b/dali-toolkit/internal/controls/table-view/table-view-impl.cpp @@ -412,7 +412,7 @@ void TableView::DeleteRow( unsigned int rowIndex, std::vector& removed ) else if( row >= rowIndex ) // If below of or at the inserted row, decrease row index { // Decrement index - if( position.rowIndex > 1 ) + if( position.rowIndex > 0 ) { position.rowIndex--; } -- 2.7.4