[layouts] Correctly set project dirty for more editing operations

This commit is contained in:
Nyall Dawson 2018-03-06 09:50:37 +10:00
parent d73c7758a1
commit 51286d906f

View File

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