diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-12-07 21:30:39 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-13 05:48:20 -0800 |
commit | 003e490dd228ae5738dccd896359db76a623d32e (patch) | |
tree | c92f54ad1d9924e4dd849ff90a39eca5ad0d32b2 /desktop-widgets | |
parent | 5b7e4c57f78c9ec2087726ecad89797132a32d08 (diff) | |
download | subsurface-003e490dd228ae5738dccd896359db76a623d32e.tar.gz |
Reenable picture tab when dive trip is selected
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 724afac57..c45474e7e 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -477,7 +477,6 @@ void MainTab::updateDiveInfo(bool clear) ui.tabWidget->setTabText(0, tr("Trip notes")); ui.tabWidget->setTabEnabled(1, false); ui.tabWidget->setTabEnabled(2, false); - ui.tabWidget->setTabEnabled(4, false); ui.tabWidget->setTabEnabled(5, false); // Recover the tab selected for last dive trip if (lastSelectedDive) @@ -530,7 +529,6 @@ void MainTab::updateDiveInfo(bool clear) ui.tabWidget->setTabText(0, tr("Notes")); ui.tabWidget->setTabEnabled(1, true); ui.tabWidget->setTabEnabled(2, true); - ui.tabWidget->setTabEnabled(4, true); ui.tabWidget->setTabEnabled(5, true); // Recover the tab selected for last dive if (!lastSelectedDive) |