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:
parent
c88a90f379
commit
b9e9eeb441
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user