diff --git a/src/document.cpp b/src/document.cpp index 486c07d37..4e9f8b292 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -364,7 +364,7 @@ Document* Document::duplicate(DuplicateType type) const // Configure the layer as background only if the original // sprite has a background layer. - if (sourceSprite->getBackgroundLayer() == NULL) + if (sourceSprite->getBackgroundLayer() != NULL) flatLayer->configureAsBackground(); } break;