Skip to content

Commit 51286d9

Browse files
committedMar 6, 2018
[layouts] Correctly set project dirty for more editing operations
1 parent d73c775 commit 51286d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/core/layout/qgslayoutundostack.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ void QgsLayoutUndoStack::push( QUndoCommand *cmd )
106106
if ( mBlockedCommands > 0 )
107107
delete cmd;
108108
else
109+
{
109110
mUndoStack->push( cmd );
111+
mLayout->project()->setDirty( true );
112+
}
110113
}
111114

112115
void QgsLayoutUndoStack::indexChanged()

0 commit comments

Comments
 (0)
Please sign in to comment.