Skip to content

Commit

Permalink
[layouts] Correctly set project dirty for more editing operations
Browse files Browse the repository at this point in the history
(cherry-picked from 51286d9)
  • Loading branch information
nyalldawson committed Mar 6, 2018
1 parent 0246cd6 commit 7cb38fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layout/qgslayoutundostack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ void QgsLayoutUndoStack::push( QUndoCommand *cmd )
if ( mBlockedCommands > 0 )
delete cmd;
else
{
mUndoStack->push( cmd );
mLayout->project()->setDirty( true );
}
}

void QgsLayoutUndoStack::indexChanged()
Expand Down

0 comments on commit 7cb38fe

Please sign in to comment.