framework-widget icon indicating copy to clipboard operation
framework-widget copied to clipboard

New TableView's RemoveRows function crashes if the row to remove is not within the visible view

Open bernal-pablo opened this issue 9 years ago • 0 comments

-- The row isn't within the visible bounds of our view
            else            
                -- Re calculate the scrollHeight
                self._scrollHeight = self._scrollHeight - row._height
                if self._scrollBar then
                    self._scrollBar:repositionY()
                end

                -- decrement the table rows variable
                self._numberOfRows =  self._numberOfRows - 1
                removeRow( i )

            end

This crashes simply because the function 'removeRow' does not exist

bernal-pablo avatar Sep 28 '16 14:09 bernal-pablo