CallTrace : bug fix scrollbar selection for WindowingTable
authorheeyoung <heeyoung1008.hwang@samsung.com>
Mon, 7 Sep 2015 07:12:46 +0000 (16:12 +0900)
committerheeyoung <heeyoung1008.hwang@samsung.com>
Mon, 7 Sep 2015 07:12:46 +0000 (16:12 +0900)
Change-Id: I6d811197e45eeb29fd9bd87bf1808252c811921a
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/table/DAWindowingTableComposite.java

index 4fca19f..c093c16 100644 (file)
@@ -459,7 +459,8 @@ public abstract class DAWindowingTableComposite extends DATableComposite {
                }
 
                int scrollSelection = vScrollbar.getSelection();
-               if (scrollSelection > itemCount) { // change PID
+               if (scrollSelection > itemCount // Filtering (ex. change PID)
+                               || itemCount <= getTableLength()) {
                        scrollSelection = 0;
                }