Dive d/l selection UI: clear table when retrying

After a partial download (because the user hits cancel or because there
was an error, if the user hits Retry the list of dives downloaded so far
should be cleared because we will simply try to re-download the same dives
again.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-11 07:46:21 -08:00
parent bccbdf8264
commit 578e9c22af
2 changed files with 15 additions and 1 deletions

View file

@ -36,7 +36,7 @@ public:
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
void setImportedDivesIndexes(int first, int last);
Qt::ItemFlags flags(const QModelIndex &index) const;
void removeUnused();
void clearTable();
public
slots: