diff --git a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp index de66b474dd..e0fc38422c 100644 --- a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp +++ b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp @@ -170,6 +170,7 @@ void SoundPlayerWidgetAdvancedView::play_state_changed(Player::PlayState state) m_play_action->set_enabled(state != PlayState::NoFileLoaded); m_play_action->set_icon(state == PlayState::Playing ? m_pause_icon : m_play_icon); + m_play_action->set_text(state == PlayState::Playing ? "Pause"sv : "Play"sv); m_stop_action->set_enabled(state != PlayState::Stopped && state != PlayState::NoFileLoaded); diff --git a/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp b/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp index 268a34d109..44d894c1fb 100644 --- a/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp +++ b/Userland/Applications/VideoPlayer/VideoPlayerWidget.cpp @@ -110,15 +110,19 @@ void VideoPlayerWidget::update_play_pause_icon() if (!m_playback_manager) { m_play_pause_action->set_enabled(false); m_play_pause_action->set_icon(m_play_icon); + m_play_pause_action->set_text("Play"sv); return; } m_play_pause_action->set_enabled(true); - if (m_playback_manager->is_playing()) + if (m_playback_manager->is_playing()) { m_play_pause_action->set_icon(m_pause_icon); - else + m_play_pause_action->set_text("Pause"sv); + } else { m_play_pause_action->set_icon(m_play_icon); + m_play_pause_action->set_text("Play"sv); + } } void VideoPlayerWidget::resume_playback()