diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-10-01 17:54:13 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-01 18:01:22 -0400 |
commit | d25e456fccabac55d3102f82524c26cb4d7bdc7c (patch) | |
tree | cf67dcea5f20ac67c8c27ca3c97cdcc3e9639806 /qt-ui/maintab.cpp | |
parent | 3548d111957ac980a54b358fe63a873e94f74d35 (diff) | |
download | subsurface-d25e456fccabac55d3102f82524c26cb4d7bdc7c.tar.gz |
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>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 70a5bad0a..33c5055bd 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -202,6 +202,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.location, &DiveLocationLineEdit::fixPopupPosition); acceptingEdit = false; + + ui.diveTripLocation->hide(); } MainTab::~MainTab() |