Remove workaround for a core issue fixed in core v1.2.0.

This commit is contained in:
Mark Rowe 2016-07-08 16:15:24 -07:00 committed by Thomas Goyne
parent edf53a1750
commit 8798b1c617
1 changed files with 1 additions and 2 deletions

View File

@ -208,8 +208,7 @@ RowExpr Results::get(size_t row_ndx)
update_tableview();
if (row_ndx >= m_table_view.size())
break;
// FIXME: If clear() was called on the underlying Table, then is_row_attached(row_ndx) will still return true (core issue #1837).
if (!m_live && (m_table_view.get_parent().is_empty() || !m_table_view.is_row_attached(row_ndx)))
if (!m_live && !m_table_view.is_row_attached(row_ndx))
return {};
return m_table_view.get(row_ndx);
}