UI restructure: updateDiveInfo shows the selected dive by default

So don't be redundant.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-02 12:58:41 -07:00
parent 2a55e55868
commit 635a7ab771
4 changed files with 7 additions and 7 deletions

View file

@ -342,7 +342,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button)
mark_divelist_changed(true);
MainWindow::instance()->globe()->repopulateLabels();
MainWindow::instance()->globe()->centerOnCurrentDive();
MainWindow::instance()->information()->updateDiveInfo(selected_dive);
MainWindow::instance()->information()->updateDiveInfo();
}
/* store last entered uid in config */