aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-05-26 16:48:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-26 21:45:54 -0700
commit46aa97bfc42358204d534d06e9bcf72028dd1897 (patch)
treec3a51569cd666119b5282bd03b7c5276a1c59950
parent44f5a728225a09cf4a0dd8e82234cd53270de61c (diff)
downloadsubsurface-46aa97bfc42358204d534d06e9bcf72028dd1897.tar.gz
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>
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index b2539da0d..00a6be60f 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -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()