diff --git a/src/app/commands/cmd_paste_text.cpp b/src/app/commands/cmd_paste_text.cpp index cfacb7a35..e74d27efc 100644 --- a/src/app/commands/cmd_paste_text.cpp +++ b/src/app/commands/cmd_paste_text.cpp @@ -51,7 +51,8 @@ PasteTextCommand::PasteTextCommand() bool PasteTextCommand::onEnabled(Context* ctx) { - return ctx->checkFlags(ContextFlags::ActiveDocumentIsWritable); + return ctx->checkFlags(ContextFlags::ActiveDocumentIsWritable | + ContextFlags::ActiveLayerIsEditable); } class PasteTextWindow : public app::gen::PasteText {