diff options
| author | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-10-12 07:46:53 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-10-12 07:46:53 +0000 |
| commit | 22359fd62851131359260fc445e4f9bde47d611d (patch) | |
| tree | 30b32c3b6d08d0548f50d45b6fbd9fe68c5ffda2 /src/ui/dialog/objects.cpp | |
| parent | Prevent the objects panel from grinding Inkscape to a halt, for example when ... (diff) | |
| download | inkscape-22359fd62851131359260fc445e4f9bde47d611d.tar.gz inkscape-22359fd62851131359260fc445e4f9bde47d611d.zip | |
Update objects.cpp
Diffstat (limited to 'src/ui/dialog/objects.cpp')
| -rw-r--r-- | src/ui/dialog/objects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp index 73e4a4fc1..148500506 100644 --- a/src/ui/dialog/objects.cpp +++ b/src/ui/dialog/objects.cpp @@ -347,7 +347,7 @@ void ObjectsPanel::_addObject(SPObject* obj, Gtk::TreeModel::Row* parentRow) row[_model->_colObject] = item; g_assert(_store->get_flags() & Gtk::TREE_MODEL_ITERS_PERSIST); - _tree_cache.push_back(std::make_pair(item, iter)); // Use a row reference instead of an iter maybe? + _tree_cache.emplace_back(item, iter); // Use a row reference instead of an iter maybe? //this seems to crash on convert stroke to path then undo (probably no ID?) try { |
