Skip to content

Commit

Permalink
Server: Fix play music checkbox checking
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Sep 30, 2019
1 parent f8c8c02 commit 018f4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/server_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _set_copter_data(self, value, col, copter_id):
def send_starttime_selected(self, **kwargs):
dt = self.ui.start_delay_spin.value()
logging.info('Wait {} seconds to start animation'.format(dt))
if self.ui.music_checkbox.checked:
if self.ui.music_checkbox.isChecked():
music_dt = self.ui.music_delay_spin.value()
asyncio.ensure_future(self.play_music_after(music_dt), loop=self.loop)
logging.info('Wait {} seconds to play music'.format(music_dt))
Expand Down

0 comments on commit 018f4f8

Please sign in to comment.