Property "Switch" does not work for buttons

Property "Switch" does not work for buttons

Summary

Bug appeared due to merge conflict. Button state is now changed correctly depending on the pressed state.

Description

Bug appeared due to merge conflict. Button state is now changed correctly depending on the pressed state.

Issue Number: 136728
Fixed on Date: 15.5.2018
Versions: 7.20 0 BUILD 47903