From 76dab7dfd9af194637e99f58531807bce06a12b4 Mon Sep 17 00:00:00 2001 From: Ramen2X Date: Thu, 29 Feb 2024 20:53:14 -0500 Subject: [PATCH] app: set play button label according to playback state [skip ci] --- app/viewer/mediapanel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/viewer/mediapanel.cpp b/app/viewer/mediapanel.cpp index bb90357..d806f32 100644 --- a/app/viewer/mediapanel.cpp +++ b/app/viewer/mediapanel.cpp @@ -420,7 +420,9 @@ void MediaPanel::Play(bool e) m_PlaybackStart = QDateTime::currentMSecsSinceEpoch(); m_PlaybackTimer->start(); + m_PlayBtn->setText("Pause"); } else { + m_PlayBtn->setText("Play"); m_PlaybackTimer->stop(); } m_PlayBtn->setChecked(e);