Skip to content

Commit 9c8b96b

Browse files
committedOct 6, 2017
Call base class undo commands
1 parent 66b4bdf commit 9c8b96b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/layout/qgslayoutundocommand.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ QgsAbstractLayoutUndoCommand::QgsAbstractLayoutUndoCommand( const QString &text,
2525

2626
void QgsAbstractLayoutUndoCommand::undo()
2727
{
28+
QUndoCommand::undo();
2829
restoreState( mBeforeState );
2930
}
3031

@@ -35,6 +36,7 @@ void QgsAbstractLayoutUndoCommand::redo()
3536
mFirstRun = false;
3637
return;
3738
}
39+
QUndoCommand::redo();
3840
restoreState( mAfterState );
3941
}
4042

0 commit comments

Comments
 (0)
Please sign in to comment.