Qt: fix play button state after toolbar customization

Close #10850