mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Reenable picture tab when dive trip is selected
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
5b7e4c57f7
commit
003e490dd2
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue