mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
fix #9 The 'then' statement is equivalent to the 'else' statement. lrpagedesignintf.cpp
This commit is contained in:
parent
efb37aedc7
commit
af96a674af
@ -1907,7 +1907,8 @@ void CommandGroup::undoIt()
|
|||||||
|
|
||||||
void CommandGroup::addCommand(CommandIf::Ptr command, bool execute)
|
void CommandGroup::addCommand(CommandIf::Ptr command, bool execute)
|
||||||
{
|
{
|
||||||
if (execute && command->doIt())
|
if (execute)
|
||||||
|
if (command->doIt())
|
||||||
m_commands.append(command);
|
m_commands.append(command);
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user