Commit cb5c0871 by 余海波

Update historypanel_handler.py

parent 97b6ade4
......@@ -169,13 +169,7 @@ class HistoryPanelHandler:
button.setToolTip('停止')
self._playback_state = 'playing'
print(f"[HistoryPanelHandler] 播放器状态: 播放中 (显示停止图标)")
elif state == QMediaPlayer.PausedState:
# 暂停 -> 显示开始图标
button.setIcon(newIcon('开始'))
button.setToolTip('播放')
self._playback_state = 'paused'
print(f"[HistoryPanelHandler] 播放器状态: 暂停 (显示开始图标)")
else: # StoppedState
# 停止 -> 显示开始图标
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment