]> git.lyx.org Git - lyx.git/commitdiff
Ensure that the warning message is removed if the underlying paragraph will
authorAngus Leeming <leeming@lyx.org>
Fri, 12 Apr 2002 09:35:50 +0000 (09:35 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 12 Apr 2002 09:35:50 +0000 (09:35 +0000)
accept our changes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3982 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormParagraph.C

index 00067cc2a94a1225dd82c0d01af7c77c0584b75d..f857835ac458d8cee1a55ec71165578a8c4f7e57 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-12  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * FormParagraph.C (changedParagraph): ensure that the warning message
+       is removed if the underlying paragraph will accept our changes.
+
 2002-04-09  Herbert Voss  <voss@perce.de>
 
        * FormGraphics.C: allow rotate-values like 270.1
index cbf3a03225f9d4b1ed55c92fdaab639389a0f2a1..2aa378b7e2dcf2b980a44d71582c1fc41329c170 100644 (file)
@@ -89,6 +89,8 @@ void FormParagraph::changedParagraph()
 
        if (!accept) {
                postWarning(_("Cannot apply paragraph settings to this inset!"));
+       } else {
+               clearMessage();
        }
 }