Skip to content

Commit

Permalink
Simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Apr 9, 2014
1 parent c51be63 commit c8575e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposermanager.cpp
Expand Up @@ -204,7 +204,7 @@ void QgsComposerManager::on_mAddButton_clicked()
}
}

if ( newComposer && !loadedOK )
if ( !loadedOK )
{
newComposer->close();
QgisApp::instance()->deleteComposer( newComposer );
Expand Down

0 comments on commit c8575e0

Please sign in to comment.