0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

fix #9 The 'then' statement is equivalent to the 'else' statement. lrpagedesignintf.cpp

This commit is contained in:
Arin Alexander 2016-02-20 12:05:14 +03:00
parent efb37aedc7
commit af96a674af

View File

@ -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);