From: Angus Leeming Date: Fri, 12 Apr 2002 09:35:50 +0000 (+0000) Subject: Ensure that the warning message is removed if the underlying paragraph will X-Git-Tag: 1.6.10~19424 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ced212a684c8d550ce3bdad2127cfd9c4112eb8b;p=lyx.git Ensure that the warning message is removed if the underlying paragraph will accept our changes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3982 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 00067cc2a9..f857835ac4 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2002-04-12 Angus Leeming + + * FormParagraph.C (changedParagraph): ensure that the warning message + is removed if the underlying paragraph will accept our changes. + 2002-04-09 Herbert Voss * FormGraphics.C: allow rotate-values like 270.1 diff --git a/src/frontends/xforms/FormParagraph.C b/src/frontends/xforms/FormParagraph.C index cbf3a03225..2aa378b7e2 100644 --- a/src/frontends/xforms/FormParagraph.C +++ b/src/frontends/xforms/FormParagraph.C @@ -89,6 +89,8 @@ void FormParagraph::changedParagraph() if (!accept) { postWarning(_("Cannot apply paragraph settings to this inset!")); + } else { + clearMessage(); } }