summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-15 21:38:20 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-03-15 21:38:20 +0000
commitc1a9b9773542b5a5de771a06a20834f38bb2da90 (patch)
tree473ca4eeb45228cd5b9cb192be7cd8271071aded /src/desktop-style.cpp
parentCommit to using our stored units for now. (diff)
downloadinkscape-c1a9b9773542b5a5de771a06a20834f38bb2da90.tar.gz
inkscape-c1a9b9773542b5a5de771a06a20834f38bb2da90.zip
fix-bug-1557192. paint-order crash with multiple items
Fixed bugs: - https://launchpad.net/bugs/1557192 (bzr r14708)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index c28302d22..d10c75cd8 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -1004,10 +1004,10 @@ objects_query_paintorder (const std::vector<SPItem*> &objects, SPStyle *style_re
n_order ++;
- if (!prev_order.empty() && prev_order.compare( style->paint_order.value ) != 0) {
- same_order = false;
- }
if (style->paint_order.set) {
+ if (!prev_order.empty() && prev_order.compare( style->paint_order.value ) != 0) {
+ same_order = false;
+ }
prev_order = style->paint_order.value;
}
}