From 4b706051b73ece2d806bc8b4daf430f2e0be6995 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Wed, 12 Dec 2012 03:44:38 -0500 Subject: [PATCH] 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 , then (still holding shift) again. On the second nothing appears to happen. Related to #1802. --- src/insets/InsetTabular.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ec1cd54a24..a38c4b27a3 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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; } -- 2.39.2