summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/document-properties.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-08-04 15:29:44 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-08-04 15:29:44 +0000
commitb70edbea3adc1d80307ac2efaf01181a504191e3 (patch)
treea376cbf2f7dd28073ab89b15a897a135fdcbe0f6 /src/ui/dialog/document-properties.cpp
parentupdate to trunk (r13472) (diff)
parentExporting. Fix for bug #1350897 (XAML export formats numbers in the top-level... (diff)
downloadinkscape-b70edbea3adc1d80307ac2efaf01181a504191e3.tar.gz
inkscape-b70edbea3adc1d80307ac2efaf01181a504191e3.zip
update to trunk (r13488)
(bzr r13398.1.6)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
-rw-r--r--src/ui/dialog/document-properties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 2674efc1e..9141b2268 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -596,6 +596,7 @@ void DocumentProperties::removeSelectedProfile(){
//XML Tree being used directly here while it shouldn't be.
sp_repr_unparent(obj->getRepr());
DocumentUndo::done(SP_ACTIVE_DOCUMENT, SP_VERB_EDIT_REMOVE_COLOR_PROFILE, _("Remove linked color profile"));
+ break; // removing the color profile likely invalidates part of the traversed list, stop traversing here.
}
current = g_slist_next(current);
}