]> git.lyx.org Git - features.git/commitdiff
Fix bug #8859: crash on alignment of two cells in tabular
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Oct 2013 10:52:00 +0000 (12:52 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Oct 2013 10:52:00 +0000 (12:52 +0200)
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

index 5571de0cf3a923242dcccacdcd24e7822057a4dc..e7f876e800bf664bb20855b7ef25d14972c47a4b 100644 (file)
@@ -4376,6 +4376,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: