mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
undo: remove EditNumber command
Number editing works via the RenumberDives command. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
6e59ee00d8
commit
9722f04e40
4 changed files with 0 additions and 37 deletions
|
@ -574,28 +574,6 @@ DiveField EditMode::fieldId() const
|
|||
return DiveField::MODE;
|
||||
}
|
||||
|
||||
// ***** Number *****
|
||||
void EditNumber::set(struct dive *d, int number) const
|
||||
{
|
||||
d->number = number;
|
||||
}
|
||||
|
||||
int EditNumber::data(struct dive *d) const
|
||||
{
|
||||
return d->number;
|
||||
}
|
||||
|
||||
QString EditNumber::fieldName() const
|
||||
{
|
||||
return tr("number");
|
||||
}
|
||||
|
||||
DiveField EditNumber::fieldId() const
|
||||
{
|
||||
return DiveField::NR;
|
||||
}
|
||||
|
||||
|
||||
// ***** Tag based commands *****
|
||||
EditTagsBase::EditTagsBase(const QStringList &newListIn, bool currentDiveOnly) :
|
||||
EditDivesBase(currentDiveOnly),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue