undo: pass divecomputer number to EditSensors command

Don't access the global variable dc_number, which might
not make sense on mobile.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2022-05-21 21:13:32 +02:00 committed by bstoeger
parent 996f85771a
commit 297befc6f8
5 changed files with 7 additions and 7 deletions

View file

@ -444,7 +444,7 @@ private:
class EditSensors : public Base
{
public:
EditSensors(int cylIndex, int fromCylinder);
EditSensors(int cylIndex, int fromCylinder, int dcNr);
private:
struct dive *d;