Hide trip location when launching Subsurface

It was ugly to show trip and dive location when no dive
was selected.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-10-01 17:54:13 -03:00 committed by Dirk Hohndel
parent 3548d11195
commit d25e456fcc

View file

@ -202,6 +202,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
ui.location, &DiveLocationLineEdit::fixPopupPosition);
acceptingEdit = false;
ui.diveTripLocation->hide();
}
MainTab::~MainTab()