summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/attrdialog.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-05-29 09:16:50 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-06-02 09:50:17 +0000
commit0213907c55de8310db7d0338ad00c5bccd2c08c1 (patch)
tree1246adf55cca8cb6517b9839cb7488de4d232ba0 /src/ui/dialog/attrdialog.cpp
parentImprovements to hadle whols CSS file (diff)
downloadinkscape-0213907c55de8310db7d0338ad00c5bccd2c08c1.tar.gz
inkscape-0213907c55de8310db7d0338ad00c5bccd2c08c1.zip
Fixed UI issues
Diffstat (limited to 'src/ui/dialog/attrdialog.cpp')
-rw-r--r--src/ui/dialog/attrdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/attrdialog.cpp b/src/ui/dialog/attrdialog.cpp
index 4e98ca1ef..e8a7078c6 100644
--- a/src/ui/dialog/attrdialog.cpp
+++ b/src/ui/dialog/attrdialog.cpp
@@ -339,7 +339,7 @@ bool AttrDialog::onKeyPressed(GdkEventKey *event)
*/
void AttrDialog::nameEdited (const Glib::ustring& path, const Glib::ustring& name)
{
- Gtk::TreeIter iter = this->_store->append();
+ Gtk::TreeIter iter = *_store->get_iter(path);
Gtk::TreeModel::Path modelpath = (Gtk::TreeModel::Path)iter;
Gtk::TreeModel::Row row = *iter;
if(row && this->_repr) {