]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormParagraph.C
Swap two printer related help messages.
[lyx.git] / src / frontends / xforms / FormParagraph.C
index 0f9beea210d1f31ca2268c9f534332dd09787e7b..66e2b819e701a5e399fe4f7df3e7e7c5f2c2a576 100644 (file)
@@ -49,6 +49,19 @@ FormParagraph::~FormParagraph()
 }
 
 
+void FormParagraph::redraw()
+{
+       if( form() && form()->visible )
+               fl_redraw_form( form() );
+       else
+               return;
+
+       FL_FORM * outer_form = fl_get_active_folder(dialog_->tabbed_folder);
+       if (outer_form && outer_form->visible)
+               fl_redraw_form( outer_form );
+}
+
+
 FL_FORM * FormParagraph::form() const
 {
     if (dialog_) return dialog_->form;
@@ -65,7 +78,7 @@ void FormParagraph::build()
     minw_ = form()->w;
     minh_ = form()->h;
 
-    // manage the restore, ok, apply and cancel/close buttons
+    // Manage the ok, apply, restore and cancel/close buttons
     bc_.setOK(dialog_->button_ok);
     bc_.setApply(dialog_->button_apply);
     bc_.setCancel(dialog_->button_cancel);
@@ -469,7 +482,7 @@ void FormParagraph::extra_update()
                 par->pextra_width.c_str());
     fl_set_input(extra_->input_pextra_widthp,
                 par->pextra_widthp.c_str());
-    switch(par->pextra_alignment) {
+    switch (par->pextra_alignment) {
     case LyXParagraph::MINIPAGE_ALIGN_TOP:
        fl_set_button(extra_->radio_pextra_top, 1);
        break;