diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-09-20 13:38:24 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-09-20 18:35:02 -0700 |
commit | a2f27517922f5422e62e57f6ce1279b7235ce2fc (patch) | |
tree | b3944623125ae453e4a054958215b09a7b07dc44 /qt-ui/models.h | |
parent | da90c86d61a235d2c56d522f09203694678608f1 (diff) | |
download | subsurface-a2f27517922f5422e62e57f6ce1279b7235ce2fc.tar.gz |
Show everything when nothing is checked.
This patch fixes a bit of the logic used. Now we show every
dive if nothing is chedked.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r-- | qt-ui/models.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h index fc762b6ad..18c26df44 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -425,6 +425,7 @@ public: virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); virtual Qt::ItemFlags flags(const QModelIndex &index) const; bool *checkState; + bool anyChecked; public slots: void repopulate(); |