mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-11-22 23:27:54 -05:00
app: set play button label according to playback state [skip ci]
This commit is contained in:
parent
9b3a8da32a
commit
76dab7dfd9
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue