Commit Graph

8 Commits

Author SHA1 Message Date
Ulf Hermann
ee9ecf8661 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>
2017-12-14 10:52:30 +00:00
Leena Miettinen
506b372c76 SCXML Editor: Fix UI text
Change-Id: I2d6794682dfb05eaa3a926f33fffa039947afa87
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-10-20 14:17:34 +00:00
Nikita Baryshnikov
bf46cf8eaf ScxmlEditor: silent fallthrough warnings
Change-Id: I7bd7140f05e8342a2e10713eb1646e0bd3f028ff
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2017-09-18 11:08:08 +00:00
Marco Benelli
f00e629227 SCXML editor: fix crash on pressing copy/cut
QtCreator used to crash when copy or cut button were pressed without
having selected an item.

Task-number: QTCREATORBUG-17637
Change-Id: Iceaea7a9f826ed16c4caee9fc28b4c14eb304c62
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-01-26 13:08:49 +00:00
Tobias Hunger
b31bc37dca Scxml: Simplify code
Change-Id: Ia1ea8527054a9c94e5f40cca665f7f4b0a5c53e7
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-11-29 15:23:04 +00:00
Christian Stenger
950b665741 ScxmlEditor: Fix compile with Qt5.6
Change-Id: I07ed1737b9a72338aa74aab0c6277df414d95cb5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-19 07:22:33 +00:00
Orgad Shaneh
7fbbd8f2fd ScxmlEditor: Cleanup nullptr comparisons
Change-Id: I8b61929f1d23a6a7c46043b8967c1aebe333a7e7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-18 10:20:03 +00:00
Alessandro Portale
4ea332b062 ScxmlEditor: Initial import
Change-Id: I4701b77ebd4e2520f2616c42206ac17be3a12b60
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-09-16 12:39:49 +00:00