summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-03-09 14:56:40 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-10 07:46:30 -0700
commit53d20f5b8a58e3f15efac87e49b435253d987329 (patch)
treef1e15676d8ba041cf2dd9eb6f97504bc00307e42 /qt-ui
parentdeb2caf3e0ac90850a793ca86190d44222c60db8 (diff)
downloadsubsurface-53d20f5b8a58e3f15efac87e49b435253d987329.tar.gz
Do not show the Edit mode message when entering location management screen
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/simplewidgets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 003fc053d..8a808d2a2 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -672,6 +672,7 @@ LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBo
ui.setupUi(this);
ui.diveSiteMessage->setText("You are editing the Dive Site");
ui.diveSiteMessage->setCloseButtonVisible(false);
+ ui.diveSiteMessage->hide();
QAction *action = new QAction(tr("Apply changes"), this);
connect(action, SIGNAL(triggered(bool)), this, SLOT(acceptChanges()));