mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Don't open generated sprite sheet if the params specified so
This commit is contained in:
parent
9257b9e244
commit
2c58169cbb
@ -828,7 +828,7 @@ void ExportSpriteSheetCommand::onExecute(Context* context)
|
|||||||
Preferences::instance().removeDocument(newDocument.get());
|
Preferences::instance().removeDocument(newDocument.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (docPref.spriteSheet.openGenerated()) {
|
if (params.openGenerated()) {
|
||||||
// Setup a filename for the new document in case that user didn't
|
// Setup a filename for the new document in case that user didn't
|
||||||
// save the file/specified one output filename.
|
// save the file/specified one output filename.
|
||||||
if (filename.empty()) {
|
if (filename.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user