mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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()
|
void TabDiveEquipment::addCylinder_clicked()
|
||||||
{
|
{
|
||||||
MainWindow::instance()->mainTab->enableEdition();
|
divesEdited(Command::addCylinder(false));
|
||||||
cylindersModel->add();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabDiveEquipment::addWeight_clicked()
|
void TabDiveEquipment::addWeight_clicked()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue