mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
divecomputer > dive computer
This commit is contained in:
parent
67bba5d1c2
commit
59d18a00db
3 changed files with 5 additions and 5 deletions
|
@ -1356,9 +1356,9 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
|
|||
return;
|
||||
// create menu to show when right clicking on dive computer name
|
||||
if (dc_number > 0)
|
||||
m.addAction(tr("Make first divecomputer"), this, SLOT(makeFirstDC()));
|
||||
m.addAction(tr("Make first dive computer"), this, SLOT(makeFirstDC()));
|
||||
if (count_divecomputers() > 1)
|
||||
m.addAction(tr("Delete this divecomputer"), this, SLOT(deleteCurrentDC()));
|
||||
m.addAction(tr("Delete this dive computer"), this, SLOT(deleteCurrentDC()));
|
||||
m.exec(event->globalPos());
|
||||
// don't show the regular profile context menu
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue