mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
Add warning before we save a sequence of bitmaps (fix #902)
This commit is contained in:
parent
2f2bd40c84
commit
978145ba7a
@ -444,6 +444,17 @@ FileOp* FileOp::createSaveDocumentOperation(const Context* context,
|
|||||||
|
|
||||||
fop->m_seq.filename_list.push_back(frame_fn);
|
fop->m_seq.filename_list.push_back(frame_fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fop->m_seq.filename_list.size() > 1 &&
|
||||||
|
ui::Alert::show("Notice"
|
||||||
|
"<<Do you want to export the animation in %d files?"
|
||||||
|
"<<%s, %s..."
|
||||||
|
"||&Agree||&Cancel",
|
||||||
|
int(fop->m_seq.filename_list.size()),
|
||||||
|
base::get_file_name(fop->m_seq.filename_list[0]).c_str(),
|
||||||
|
base::get_file_name(fop->m_seq.filename_list[1]).c_str()) != 1) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user