mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
UI restructure: updateDiveInfo displays displayed_dive
Instead of passing in a divenr of -1 to make it clear things this changes things to use an options "clear" flag. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ce47683de8
commit
56501dda1e
4 changed files with 41 additions and 48 deletions
|
@ -217,7 +217,7 @@ void MainWindow::cleanUpEmpty()
|
|||
ui.InfoWidget->clearStats();
|
||||
ui.InfoWidget->clearInfo();
|
||||
ui.InfoWidget->clearEquipment();
|
||||
ui.InfoWidget->updateDiveInfo(-1);
|
||||
ui.InfoWidget->updateDiveInfo(true);
|
||||
ui.newProfile->setEmptyState();
|
||||
ui.ListWidget->reload(DiveTripModel::TREE);
|
||||
ui.globe->reload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue