mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
undo: add cylinders via undo
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
66fc9fcfec
commit
ff38c03e00
1 changed files with 1 additions and 2 deletions
|
@ -152,8 +152,7 @@ void TabDiveEquipment::clear()
|
|||
|
||||
void TabDiveEquipment::addCylinder_clicked()
|
||||
{
|
||||
MainWindow::instance()->mainTab->enableEdition();
|
||||
cylindersModel->add();
|
||||
divesEdited(Command::addCylinder(false));
|
||||
}
|
||||
|
||||
void TabDiveEquipment::addWeight_clicked()
|
||||
|
|
Loading…
Add table
Reference in a new issue