mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-28 18:32:50 +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());
|
||||
}
|
||||
|
||||
if (docPref.spriteSheet.openGenerated()) {
|
||||
if (params.openGenerated()) {
|
||||
// Setup a filename for the new document in case that user didn't
|
||||
// save the file/specified one output filename.
|
||||
if (filename.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user