diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-05-21 09:58:25 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-05-21 09:58:25 +0000 |
| commit | 9e9ce2c30be9d6af144ff07f69c15c508d84e776 (patch) | |
| tree | 477b56572c6dbde8fbcd1480c862d3a66b7f232a /src/ui/widget | |
| parent | Adjust some thresholds for finding intersections in elliptical arcs (diff) | |
| download | inkscape-9e9ce2c30be9d6af144ff07f69c15c508d84e776.tar.gz inkscape-9e9ce2c30be9d6af144ff07f69c15c508d84e776.zip | |
Fix regression: restore order in resources (e.g. pattern list)
(bzr r14907)
Diffstat (limited to 'src/ui/widget')
| -rw-r--r-- | src/ui/widget/color-icc-selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/color-icc-selector.cpp b/src/ui/widget/color-icc-selector.cpp index ec2e69fb3..2e30a48b5 100644 --- a/src/ui/widget/color-icc-selector.cpp +++ b/src/ui/widget/color-icc-selector.cpp @@ -687,8 +687,8 @@ void ColorICCSelectorImpl::_profilesChanged(std::string const &name) gtk_combo_box_set_active(combo, 0); int index = 1; - std::set<SPObject *> current = SP_ACTIVE_DOCUMENT->getResourceList("iccprofile"); - for (std::set<SPObject *>::const_iterator it = current.begin(); it != current.end(); ++it) { + std::vector<SPObject *> current = SP_ACTIVE_DOCUMENT->getResourceList("iccprofile"); + for (std::vector<SPObject *>::const_iterator it = current.begin(); it != current.end(); ++it) { SPObject *obj = *it; Inkscape::ColorProfile *prof = reinterpret_cast<Inkscape::ColorProfile *>(obj); |
