Skip to content

Commit

Permalink
Remove outdated TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 5, 2018
1 parent 108c954 commit b759697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/core/layout/qgslayoutatlas.cpp
Expand Up @@ -290,14 +290,6 @@ int QgsLayoutAtlas::updateFeatures()
}

emit numberFeaturesChanged( mFeatureIds.size() );

#if 0 //TODO - move to app
//jump to first feature if currently using an atlas preview
//need to do this in case filtering/layer change has altered matching features
return first();
#endif


return mFeatureIds.size();
}

Expand Down
2 changes: 2 additions & 0 deletions tests/src/python/test_qgslayoutatlas.py
Expand Up @@ -86,6 +86,8 @@ def testReadWriteXml(self):
self.assertTrue(atlas2.filterFeatures())
self.assertEqual(atlas2.filterExpression(), 'filter exp')

def test


if __name__ == '__main__':
unittest.main()

0 comments on commit b759697

Please sign in to comment.