summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorEd Halley <ed@halley.cc>2009-03-08 20:37:15 +0000
committerspeare <speare@users.sourceforge.net>2009-03-08 20:37:15 +0000
commit0dab4271d0ca744c89a5001e513a3760b8331d27 (patch)
treeae07c172eceadbd48f4563af78bd2ef37809d856 /src/verbs.cpp
parentShould be pointing to 047 really (diff)
downloadinkscape-0dab4271d0ca744c89a5001e513a3760b8331d27.tar.gz
inkscape-0dab4271d0ca744c89a5001e513a3760b8331d27.zip
part of #339660; layers dialog allows non-unique inkscape:label attributes
(bzr r7443)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 834e1511d..5e911552c 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1230,7 +1230,7 @@ LayerVerb::perform(SPAction *action, void *data, void */*pdata*/)
SPObject *new_layer = Inkscape::create_layer(dt->currentRoot(), dt->currentLayer(), LPOS_BELOW);
if ( dt->currentLayer()->label() ) {
gchar* name = g_strdup_printf(_("%s copy"), dt->currentLayer()->label());
- dt->layer_manager->renameLayer( new_layer, name );
+ dt->layer_manager->renameLayer( new_layer, name, TRUE );
g_free(name);
}