diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-03-11 11:42:50 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-11 08:07:35 -0800 |
commit | fa7d3b6ecb9a91931afd47f0cc34c8a91b450b1d (patch) | |
tree | 87a4c6243e6c43c9896e9299ba41596adb0a43c8 /desktop-widgets | |
parent | 2e53faa8b4140e84869d558169eaaccedc314f3b (diff) | |
download | subsurface-fa7d3b6ecb9a91931afd47f0cc34c8a91b450b1d.tar.gz |
Add tooltip for add cylinder button in planner
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/diveplanner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index 207d1208a..394898112 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -113,6 +113,7 @@ DivePlannerWidget::DivePlannerWidget(QWidget *parent, Qt::WindowFlags f) : QWidg plannerModel->setRecalc(true); ui.tableWidget->view()->setItemDelegateForColumn(DivePlannerPointsModel::GAS, new AirTypesDelegate(this)); ui.cylinderTableWidget->setTitle(tr("Available gases")); + ui.cylinderTableWidget->setBtnToolTip(tr("Add cylinder")); ui.cylinderTableWidget->setModel(CylindersModel::instance()); QTableView *view = ui.cylinderTableWidget->view(); view->setColumnHidden(CylindersModel::START, true); |