small fix to selection of last view source line

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19516 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2007-08-13 19:07:46 +00:00
parent 8bb999b7ee
commit d056efff9d

View File

@ -73,6 +73,8 @@ int TexRow::getRowFromIdPos(int id, int pos) const
} else if (foundid) } else if (foundid)
break; break;
} }
if (!foundid)
return rowlist.size();
return bestrow; return bestrow;
} }