diff --git a/src/app/commands/cmd_export_sprite_sheet.cpp b/src/app/commands/cmd_export_sprite_sheet.cpp index d3407691b..04ff40941 100644 --- a/src/app/commands/cmd_export_sprite_sheet.cpp +++ b/src/app/commands/cmd_export_sprite_sheet.cpp @@ -636,8 +636,7 @@ void ExportSpriteSheetCommand::onExecute(Context* context) bool askOverwrite = params.askOverwrite(); // Show UI if the user specified it explicitly or the sprite sheet type wasn't specified. if (context->isUIAvailable() && params.ui() && - (params.ui.isSet() || - !params.type() == app::SpriteSheetType::None)) { + (params.ui.isSet() || !params.type.isSet())) { // Copy document preferences to undefined params if (docPref.spriteSheet.defined(true) && !params.type.isSet()) {