Correctly connect the maintab to dive site management

We now have a working uuid - use it. And populate the fields accordingly.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-02-12 02:04:20 -08:00
parent 5c4d266060
commit 0e6345f65b
6 changed files with 15 additions and 19 deletions

View file

@ -214,10 +214,9 @@ MainTab::~MainTab()
}
void MainTab::prepareDiveSiteEdit() {
//TODO: GET THE CORRECT DIVESITE UUID HERE
QUuid id = QUuid::createUuid();
emit requestDiveSiteEdit(id);
emit requestDiveSiteEdit(displayed_dive.dive_site_uuid);
}
void MainTab::toggleTriggeredColumn()
{
QAction *action = qobject_cast<QAction *>(sender());