[qt5.14] - restore editVisual to normal

--when the view settings window is closed then the
View must return to normal mode and disable
the editMode. In qt 5.14 default states that have a "when"
property do not play well

BUG:412940
pull/16/head
Michail Vourlakos 5 years ago
parent a2edffa8e7
commit 32bcf26eaf

@ -318,7 +318,8 @@ Item{
states: [ states: [
State{ State{
name: "*" name: "*"
when: !plasmaEditMode //! since qt 5.14 default state can not use "when" property
//! it breaks restoring transitions otherwise
}, },
State{ State{

Loading…
Cancel
Save