If you only have games of a single limit type (fixed, pot, or no limit), but of more...
commit83b7e849e37e91e3d279eac4f8833b9a3d5becff
authorChris Moore <dooglus@gmail.com>
Sun, 6 Feb 2011 06:51:08 +0000 (5 22:51 -0800)
committerChris Moore <dooglus@gmail.com>
Sun, 6 Feb 2011 19:05:53 +0000 (6 11:05 -0800)
tree120fb5173ac8e783ead2c849d838fb8f4a4254de
parent1c32931f49a8562bb539e53e6b15964c08566d8a
If you only have games of a single limit type (fixed, pot, or no limit), but of more than one blind size, then you won't see the 'NL', 'PL', 'FL' checkboxes in the Limits: section of the filters.  When you check the 'All' checkbox, the individual size checkboxes won't be checked, because the code relies on the 'NL', 'PL', 'FL' checkboxes being there to do it.  This fixes the problem.

To reproduce: have only 2 hands in the database, both no limit, one 2nl and one 5nl.  Click 'None' then 'All'.  The 2nl and 5nl checkboxes will turn off when you click 'None' but not turn back on when you click 'All'.
pyfpdb/Filters.py