bool update = false;
if (current_view->available()) {
update = true;
- LyXParagraph * par = current_view->text->cursor.par;
+ LyXParagraph * par = current_view->text->cursor.par();
EnableParagraphExtra();
} 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"));
}