aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-27 15:48:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-27 15:48:38 -0700
commitb9e9eeb441762e9bcc859fbd0243d30e3685dd28 (patch)
treef8d3405c928af6abb5c9755eb695422edc244474 /qt-ui
parentc88a90f379a297c7053c5479cd5631ec67c3e444 (diff)
downloadsubsurface-b9e9eeb441762e9bcc859fbd0243d30e3685dd28.tar.gz
No need to separately enable and switch focus to the dive list
RefreshDisplay() does this for us. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index af8240ed2..dd784a553 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -627,8 +627,6 @@ void MainTab::reload()
void MainTab::acceptChanges()
{
- MainWindow::instance()->dive_list()->setEnabled(true);
- MainWindow::instance()->setFocus();
tabBar()->setTabIcon(0, QIcon()); // Notes
tabBar()->setTabIcon(1, QIcon()); // Equipment
hideMessage();