Do not set the dive_site when changing dives
We should only set the dive_site on the dive site management widget when we are going to use that information, this is because the dive_site management widget will filter all dives on the dive list. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
44f5a72822
commit
46aa97bfc4
@ -259,7 +259,6 @@ void MainWindow::current_dive_changed(int divenr)
|
||||
}
|
||||
graphics()->plotDive();
|
||||
information()->updateDiveInfo();
|
||||
locationInformationWidget()->setLocationId(displayed_dive.dive_site_uuid);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionNew_triggered()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user