From a2f27517922f5422e62e57f6ce1279b7235ce2fc Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sat, 20 Sep 2014 13:38:24 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/models.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/models.h') 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(); -- cgit v1.2.3-70-g09d2