mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-18 11:42:47 +00:00
Don't show errors if we cancel the sprite loading process
This commit is contained in:
parent
db4e32d8dd
commit
c06ed1b993
@ -157,7 +157,7 @@ void OpenFileCommand::onExecute(Context* context)
|
|||||||
fop->postLoad();
|
fop->postLoad();
|
||||||
|
|
||||||
// Show any error
|
// Show any error
|
||||||
if (fop->hasError())
|
if (fop->hasError() && !fop->isStop())
|
||||||
console.printf(fop->error().c_str());
|
console.printf(fop->error().c_str());
|
||||||
|
|
||||||
Document* document = fop->document();
|
Document* document = fop->document();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user