mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Profile now correctly displays the planned dive.
But it doesn't move the handlers yet, and when you confirm it you also must click on the dive to select it or the profile will show garbage. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c6ad04d076
commit
f99ccc8ac2
5 changed files with 58 additions and 34 deletions
|
@ -410,10 +410,11 @@ void MainWindow::on_actionAddDive_triggered()
|
|||
ui.InfoWidget->updateDiveInfo(selected_dive);
|
||||
ui.InfoWidget->addDiveStarted();
|
||||
ui.infoPane->setCurrentIndex(MAINTAB);
|
||||
|
||||
ui.newProfile->setAddState();
|
||||
DivePlannerPointsModel::instance()->clear();
|
||||
DivePlannerPointsModel::instance()->createSimpleDive();
|
||||
ui.ListWidget->reload(DiveTripModel::CURRENT);
|
||||
ui.newProfile->setAddState();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionRenumber_triggered()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue