From ced212a684c8d550ce3bdad2127cfd9c4112eb8b Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 12 Apr 2002 09:35:50 +0000 Subject: [PATCH] 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 --- src/frontends/xforms/ChangeLog | 5 +++++ src/frontends/xforms/FormParagraph.C | 2 ++ 2 files changed, 7 insertions(+) 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(); } } -- 2.39.2