forked from qt-creator/qt-creator
Reset the default state to base state when a state is removed that is currently the default. Task-number: QDS-7743 Change-Id: Id60549ee0a61b2d3caf05ef2f00e25b74774e7d9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>