]> git.lyx.org Git - features.git/commitdiff
* InsetLabel.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Wed, 12 Nov 2008 18:51:36 +0000 (18:51 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Wed, 12 Nov 2008 18:51:36 +0000 (18:51 +0000)
- no duplicate check for unchanged parameters (bug 5496).

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

src/insets/InsetLabel.cpp
status.16x

index 6a3be71a0205118378ba7de4ea5bcb578faf30e3..afad8ea989f1d4de3c8597ee7419e686f4610dae 100644 (file)
@@ -146,7 +146,8 @@ void InsetLabel::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cur.noUpdate();
                        break;
                }
-               updateCommand(p["name"]);
+               if (p["name"] != params()["name"])
+                       updateCommand(p["name"]);
                break;
        }
 
index 71fb883f409accd0b1b84b46e06b029d2c237d4f..999be826af8ad82cc2c81268081d6fde4ce17233 100644 (file)
@@ -71,6 +71,9 @@ What's new
 - Fix crash when undoing a math operation while the outline pane was open
   (bug 5491).
 
+- Fix false duplicate warning for labels when just applying without
+  changing (bug 5496).
+
 
 * DOCUMENTATION AND LOCALIZATION