Berthold Stoeger
8a33c04894
Cleanup: use DiveTripModelBase::clear() to reset the log
...
Introduce a DiveTripModelBase::clear() function that cleanly
clears all dive data inside a beginResetModel()/endResetModel()
pair. Thus, the UI will be cleanly reset and we can remove
explicit calls to
- graphics->setEmptyState()
- mainTab->clearTabs()
- mainTab->clearTabs()
- diveList->reload()
from MainWindow::closeCurrentFile().
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-11-16 08:29:53 -08:00
..
2019-06-19 13:11:10 -07:00
2019-04-12 18:19:07 +03:00
2019-05-06 10:48:44 +02:00
2019-06-19 13:11:10 -07:00
2017-04-29 13:32:55 -07:00
2019-11-09 19:19:04 +01:00
2019-11-09 19:19:04 +01:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2018-06-17 06:53:13 +09:00
2018-09-29 15:23:25 -07:00
2019-10-02 08:04:49 -07:00
2019-10-02 08:04:49 -07:00
2019-11-08 20:50:05 +01:00
2019-11-08 20:50:05 +01:00
2019-11-14 21:02:07 +01:00
2019-04-12 18:19:07 +03:00
2019-04-16 20:38:19 +02:00
2019-04-16 20:38:19 +02:00
2019-11-14 21:02:07 +01:00
2019-10-20 16:20:58 +02:00
2019-11-16 08:29:53 -08:00
2019-11-09 19:19:04 +01:00
2019-05-06 10:48:44 +02:00
2019-05-06 10:48:44 +02:00
2019-11-16 08:29:53 -08:00
2019-11-16 08:29:53 -08:00
2019-11-11 22:44:58 +01:00
2019-05-11 12:06:19 -07:00
2019-10-04 09:19:10 -07:00
2019-10-04 09:19:10 -07:00
2019-09-06 11:48:47 -07:00
2019-09-06 11:48:47 -07:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2019-11-09 19:19:04 +01:00
2019-07-18 05:42:55 -07:00
2019-04-29 13:06:39 -07:00
2019-04-29 13:06:39 -07:00
2018-09-01 07:48:43 -07:00
2018-09-29 15:23:25 -07:00
2019-10-27 07:35:46 -07:00
2019-06-23 20:08:46 +02:00
2019-04-29 13:06:39 -07:00
2019-04-29 13:06:39 -07:00
2019-11-09 19:19:04 +01:00
2018-12-17 12:18:26 +01:00