summaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-09 16:33:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-17 16:54:38 -0700
commit9722f04e40a575ca757868a66cecfdcee801831c (patch)
tree09bc4097b095eebe0f57b4e7379797fa3c0ee605 /commands/command.cpp
parent6e59ee00d8a71de38b5249e43376ca9dca1cd4fe (diff)
downloadsubsurface-9722f04e40a575ca757868a66cecfdcee801831c.tar.gz
undo: remove EditNumber command
Number editing works via the RenumberDives command. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command.cpp')
-rw-r--r--commands/command.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/commands/command.cpp b/commands/command.cpp
index 47fc45b90..fe55b20d6 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -168,11 +168,6 @@ int editMode(int index, int newValue, bool currentDiveOnly)
return execute_edit(new EditMode(index, newValue, currentDiveOnly));
}
-int editNumber(int newValue, bool currentDiveOnly)
-{
- return execute_edit(new EditNumber(newValue, currentDiveOnly));
-}
-
int editSuit(const QString &newValue, bool currentDiveOnly)
{
return execute_edit(new EditSuit(newValue, currentDiveOnly));