mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 10:20:48 +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();
|
||||
|
||||
// Show any error
|
||||
if (fop->hasError())
|
||||
if (fop->hasError() && !fop->isStop())
|
||||
console.printf(fop->error().c_str());
|
||||
|
||||
Document* document = fop->document();
|
||||
|
Loading…
x
Reference in New Issue
Block a user