subsurface/desktop-widgets/tab-widgets
Berthold Stoeger 1f8a45db44 undo: call removeCylinder undo command in equipment tab
Instead of connecting to the remove() function of the model,
call the removeCylinder undo command. Take care to translate
the index into the source index, should cylinders be hidden!

Apart from the map-to-source call, this copies the weightsystem
code.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-04-07 00:13:35 +02:00
..
maintab.cpp models: update divesite-model when clearing/updating dive model 2020-03-18 13:27:16 -07:00
maintab.h cleanup: remove MainTab::modified 2020-02-27 14:49:01 -08:00
maintab.ui
TabBase.cpp
TabBase.h
TabDiveEquipment.cpp undo: call removeCylinder undo command in equipment tab 2020-04-07 00:13:35 +02:00
TabDiveEquipment.h Cylinders: Add CylindersModelFiltered 2020-02-11 20:37:09 -08:00
TabDiveEquipment.ui
TabDiveExtraInfo.cpp
TabDiveExtraInfo.h
TabDiveExtraInfo.ui
TabDiveInformation.cpp
TabDiveInformation.h
TabDiveInformation.ui
TabDivePhotos.cpp Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
TabDivePhotos.h
TabDivePhotos.ui
TabDiveSite.cpp Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
TabDiveSite.h
TabDiveSite.ui
TabDiveStatistics.cpp
TabDiveStatistics.h
TabDiveStatistics.ui