summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-27 20:31:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-27 20:31:18 -0700
commitb08969ac3392798b5e6ae37982b51e45d8cffaf1 (patch)
tree12410ea09362d705187a1a35ed9b7efb9676311d /qt-ui/simplewidgets.cpp
parent7320748acead7eb1853c32348c7cff26d7482e58 (diff)
downloadsubsurface-b08969ac3392798b5e6ae37982b51e45d8cffaf1.tar.gz
Dive add: fix crash when canceling
We need to reset the editMode right away, otherwise all the changes to the input field (when resetting the data after the user cancels) will cause Subsurface to crash as current_dive will temporarily be NULL. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
0 files changed, 0 insertions, 0 deletions