Fix a bug when selecting a cell in InsetTabular

Fix the following bug:
When in tabular, enter "ab" in a cell. Place the cursor before "b". Hold
shift and press <right>, then (still holding shift) <right> again. On
the second <right> nothing appears to happen.

Related to #1802.
This commit is contained in:
Scott Kostyshak 2012-12-12 03:44:38 -05:00
parent 5cc1adf7c7
commit 4b706051b7

View File

@ -4029,6 +4029,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
if (select_whole && !empty_cell){
getText(cur.idx())->selectAll(cur);
cur.dispatched();
cur.screenUpdateFlags(Update::Force | Update::FitCursor);
break;
}