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>
This commit is contained in:
Dirk Hohndel 2014-05-27 15:48:38 -07:00
parent c88a90f379
commit b9e9eeb441

View file

@ -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();