]> 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>
Mon, 7 Oct 2013 10:11:34 +0000 (12:11 +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
status.20x

index 69b3edc789f88194cc99b5192ef1d3c120dbc44b..1e1b29405035d8788773a422c31c9130404e02ab 100644 (file)
@@ -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:
index 8260c3c6b530a6d9303ef0dba584aac3e2478ce9..f75788a883fefbc8174efd3de91af696c74a2754 100644 (file)
@@ -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).