diff --git a/src/TexRow.cpp b/src/TexRow.cpp index 8586a81c41..21be0b8e30 100644 --- a/src/TexRow.cpp +++ b/src/TexRow.cpp @@ -35,8 +35,11 @@ bool TexRow::RowEntryList::addEntry(RowEntry const & entry) if (!entry.is_math) { if (text_entry_ < size()) return false; - else + else { text_entry_ = size(); + push_back(RowEntry(entry)); + return true; + } } forceAddEntry(entry); return true;