summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 603241506..a351957fd 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -1481,7 +1481,6 @@ void SPDocument::build_flat_item_list(unsigned int dkey, SPGroup *group, gboolea
build_flat_item_list(dkey, SP_GROUP(&o), into_groups);
} else {
SPItem *child = SP_ITEM(&o);
-
if (child->isVisibleAndUnlocked(dkey)) {
_node_cache.push_front(child);
}