Initialize edit hack variable

The accepting mode variable must be initialized to false to allow
editing of dive data.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-01-05 09:17:01 +02:00 committed by Dirk Hohndel
parent 48b88f6aca
commit 9e2e62ec4f

View file

@ -190,6 +190,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
connect(fb, &FacebookManager::justLoggedOut, ui.facebookPublish, &QPushButton::hide);
connect(ui.facebookPublish, &QPushButton::clicked, fb, &FacebookManager::sendDive);
ui.facebookPublish->setVisible(fb->loggedIn());
acceptingEdit = false;
}
MainTab::~MainTab()