Commit 97129f7b authored by Agata Cacko's avatar Agata Cacko Committed by Dmitry Kazakov

Add assert in FileLayer::setProperties

CID 248815
parent 71a20a2c
......@@ -57,6 +57,7 @@ QString FileLayer::type() const
void FileLayer::setProperties(QString fileName, QString scalingMethod)
KisFileLayer *file = dynamic_cast<KisFileLayer*>(this->node().data());
KisFileLayer::ScalingMethod sm = KisFileLayer::None;
if (scalingMethod.toLower() == "toimagesize") {
sm= KisFileLayer::ToImageSize;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment