mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
5c4d266060
commit
0e6345f65b
6 changed files with 15 additions and 19 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue