This commit is contained in:
Max Sokolov 2016-09-01 13:13:57 +03:00
parent 90aebed304
commit 52e44dcc6e
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class TableSection {
public func replace(rowAt index: Int, with row: Row) -> Bool {
if index > 0 && index < rows.count {
if index >= 0 && index < rows.count {
rows[index] = row
return true
}