mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
5cc1adf7c7
commit
4b706051b7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user