diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-06 13:26:45 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-14 10:52:30 +0000 |
commit | ee9ecf86614a78423c6d14893070f6ac221446be (patch) | |
tree | 752e1edd87a795b34bab74e75729bfd4c5fc3f9b /src/plugins/cpptools/cpprefactoringengine.cpp | |
parent | 585b2c62d5b1e7ba69b651ded580d5283b213655 (diff) | |
download | qt-creator-ee9ecf86614a78423c6d14893070f6ac221446be.tar.gz |
ScxmlEditor: Avoid soft asserts when changing nullptr tags
At least TagCurrentChanged can be triggered with a nullptr tag. That
means the current tag is reset to "none". We should thus handle nullptr
in all receivers of beginTagChange and endTagChange.
Change-Id: Ife558beca9fb1ed5ab246b76bbaab19c1c227e8a
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringengine.cpp')
0 files changed, 0 insertions, 0 deletions