summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/layers.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/ui/dialog/layers.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/ui/dialog/layers.cpp')
-rw-r--r--src/ui/dialog/layers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp
index 680a53e97..d79f18801 100644
--- a/src/ui/dialog/layers.cpp
+++ b/src/ui/dialog/layers.cpp
@@ -539,7 +539,7 @@ void LayersPanel::_handleRowChange( Gtk::TreeModel::Path const& /*path*/, Gtk::T
gchar const* oldLabel = obj->label();
Glib::ustring tmp = row[_model->_colLabel];
if ( oldLabel && oldLabel[0] && !tmp.empty() && (tmp != oldLabel) ) {
- _mgr->renameLayer( obj, tmp.c_str() );
+ _mgr->renameLayer( obj, tmp.c_str(), FALSE );
row[_model->_colLabel] = obj->label();
}
}