From b9e9eeb441762e9bcc859fbd0243d30e3685dd28 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 27 May 2014 15:48:38 -0700 Subject: No need to separately enable and switch focus to the dive list RefreshDisplay() does this for us. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qt-ui/maintab.cpp') 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(); -- cgit v1.2.3-70-g09d2