From df8d2a5a87f29c76de7cf7f3a107fb1b2ef17961 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 4 Oct 2013 12:52:00 +0200 Subject: [PATCH] Fix bug #8859: crash on alignment of two cells in tabular The solution is the same as the other text-properties lfuns: use special loops when there is a multi-cell selection. --- src/insets/InsetTabular.cpp | 2 ++ status.20x | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 69b3edc789..1e1b294050 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -4326,6 +4326,8 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_FONT_UULINE: case LFUN_FONT_UWAVE: case LFUN_LANGUAGE: + case LFUN_PARAGRAPH_PARAMS_APPLY: + case LFUN_PARAGRAPH_PARAMS: case LFUN_WORD_CAPITALIZE: case LFUN_WORD_UPCASE: case LFUN_WORD_LOWCASE: diff --git a/status.20x b/status.20x index 8260c3c6b5..f75788a883 100644 --- a/status.20x +++ b/status.20x @@ -74,7 +74,10 @@ What's new * USER INTERFACE -- Fix crash when saving document with module that is not present (bug 8523). +- Fix crash when saving document with module that is not present (bug + 8523). + +- Fix crash when changing alignment of several cells in tabular (bug 8859). - Fix bug where searching for next change may leave an empty paragraph where cursor was (bug 3199). -- 2.39.5