From 9e2e62ec4fca801642205bec088ccc03d3af2e1f Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Mon, 5 Jan 2015 09:17:01 +0200 Subject: Initialize edit hack variable The accepting mode variable must be initialized to false to allow editing of dive data. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 2906081a0..e6e530d3d 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -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() -- cgit v1.2.3-70-g09d2