diff --git a/src/lrpagedesignintf.cpp b/src/lrpagedesignintf.cpp index e52c1d7..4a099bb 100644 --- a/src/lrpagedesignintf.cpp +++ b/src/lrpagedesignintf.cpp @@ -1907,8 +1907,9 @@ void CommandGroup::undoIt() void CommandGroup::addCommand(CommandIf::Ptr command, bool execute) { - if (execute && command->doIt()) - m_commands.append(command); + if (execute) + if (command->doIt()) + m_commands.append(command); else m_commands.append(command);