diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index cfb442500..b17b80633 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -532,8 +532,6 @@ void MainTab::acceptChanges() EditMode lastMode = editMode; editMode = IGNORE_MODE; - tabBar()->setTabIcon(0, QIcon()); // Notes - tabBar()->setTabIcon(1, QIcon()); // Equipment ui.dateEdit->setEnabled(true); hideMessage(); @@ -598,8 +596,6 @@ void MainTab::rejectChanges() } ui.dateEdit->setEnabled(true); editMode = NONE; - tabBar()->setTabIcon(0, QIcon()); // Notes - tabBar()->setTabIcon(1, QIcon()); // Equipment hideMessage(); // no harm done to call cancelPlan even if we were not PLAN mode... DivePlannerPointsModel::instance()->cancelPlan(); |