diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-27 15:48:38 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-27 15:48:38 -0700 |
commit | b9e9eeb441762e9bcc859fbd0243d30e3685dd28 (patch) | |
tree | f8d3405c928af6abb5c9755eb695422edc244474 | |
parent | c88a90f379a297c7053c5479cd5631ec67c3e444 (diff) | |
download | subsurface-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>
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
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(); |