diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-01-03 14:49:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-03 10:56:29 -0800 |
commit | a30a0910b485c10536130a627b836a0f5b784ce7 (patch) | |
tree | 59d2092e621f675e3d16471384e52d44770d3ef7 /qt-ui/models.cpp | |
parent | a62f68e9059730acbe366c7740911f396e84dd91 (diff) | |
download | subsurface-a30a0910b485c10536130a627b836a0f5b784ce7.tar.gz |
Maintab: prevent a segfault in the 'Equipment' tab
When a dive contains no cylinders, clicking the '+'
button could SIGSEGV if current_dive->dc.model is NULL.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
0 files changed, 0 insertions, 0 deletions