PySide6 Qt State Machine only runs if I check its configuration on every transition, for some reason
I’ve been struggling to get a state machine working in PySide6, and I just found a disgusting hack to get it to work. I’m trying to have a button fire transitions between states. If I set it up normally, the state machine never even enters its initial state, and never does any transitions. However, If I connect a function to the button’s clicked
signal that just prints out machine.configuration()
, the state machine suddenly works.