diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-10-28 06:57:54 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-28 04:40:26 -0700 |
commit | 81ea47a498b04e5f057e9d009fb73d9d559b37b5 (patch) | |
tree | d82c58d58628dde430414d4584676d66b69e7e2e /subsurfacelatextemplate.tex | |
parent | a9b1fbdcc5aba16cb5b5d3acdbbe2b4e48768e1c (diff) | |
download | subsurface-81ea47a498b04e5f057e9d009fb73d9d559b37b5.tar.gz |
Desktop: fix dive site editing
When clicking "done" on the dive site edit screen, the diveSite
member variable was reset to nullptr in acceptChanges() at the
beginning of the function. This prevented posting an undo-command
as a consequence of the active widget losing focus.
Reset the diveSite variable after exiting dive-site mode, which
causes the active widget to lose focus.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurfacelatextemplate.tex')
0 files changed, 0 insertions, 0 deletions