Skip to content

Commit

Permalink
Don't create undo action if loading template via gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Hugentobler committed Sep 5, 2012
1 parent 351ccc0 commit a877057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ void QgsComposer::on_mActionLoadFromTemplate_triggered()
QDomDocument templateDoc;
if ( templateDoc.setContent( &templateFile ) )
{
mComposition->loadFromTemplate( templateDoc, true );
mComposition->loadFromTemplate( templateDoc, false );
}
}
}
Expand Down

0 comments on commit a877057

Please sign in to comment.