From: Jean-Marc Lasgouttes Date: Fri, 4 Oct 2013 10:52:00 +0000 (+0200) Subject: Fix bug #8859: crash on alignment of two cells in tabular X-Git-Tag: 2.0.7~28 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=df8d2a5a87f29c76de7cf7f3a107fb1b2ef17961;p=features.git 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. --- 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).