]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphExtra.C
citation patch from Angus
[lyx.git] / src / ParagraphExtra.C
index 89a2afcabdf3af7295ee36d84453b1b6452f5294..b2d2a97d6acb506d270f13360c041ab41120c64a 100644 (file)
@@ -199,9 +199,9 @@ void ParagraphExtraApplyCB(FL_OBJECT *, long)
                } else if (fl_get_button(fd_form_paragraph_extra->radio_pextra_floatflt)) {
                        type = LyXParagraph::PEXTRA_FLOATFLT;
                }
-               text->SetParagraphExtraOpt(type, width, widthp, alignment, hfill,
+               text->SetParagraphExtraOpt(current_view, type, width, widthp, alignment, hfill,
                                           start_minipage);
-               current_view->update(1);
+               current_view->update(BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
                current_view->owner()->getMiniBuffer()->
                        Set(_("ParagraphExtra layout set"));
        }