diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2010-08-16 13:46:57 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2010-08-16 13:46:57 +0200 |
commit | 2aa053d7e1fcc667be038c2bd65c03611b08f06f (patch) | |
tree | 1ffafff9fa9054823aa16a36db2ba20a33c9c58d /src/menu.h | |
parent | 17c340408f2e0486db2a79b34d771059fa87b188 (diff) |
media library: fix filter issues
Diffstat (limited to 'src/menu.h')
-rw-r--r-- | src/menu.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -448,9 +448,17 @@ namespace NCurses /// Checks if list is empty /// @return true if list is empty, false otherwise + /// @see ReallyEmpty() /// virtual bool Empty() const { return itsOptionsPtr->empty(); } + /// Checks if list is really empty since Empty() may not + /// be accurate if filter is set) + /// @return true if list is empty, false otherwise + /// @see Empty() + /// + virtual bool ReallyEmpty() const { return itsOptions.empty(); } + /// @return size of the list /// virtual size_t Size() const; |