summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/muse.cpp3
-rw-r--r--muse/muse/song.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/muse/muse/muse.cpp b/muse/muse/muse.cpp
index 69460a23..dc681ae8 100644
--- a/muse/muse/muse.cpp
+++ b/muse/muse/muse.cpp
@@ -476,6 +476,8 @@ MusE::MusE()
forwardAction = new QAction(QIcon(":/xpm/fforward.xpm"), "forward", this);
stopAction = new QAction(QIcon(":/xpm/stop.xpm"), "stop", this);
playAction = new QAction(QIcon(":/xpm/play.xpm"), "play", this);
+ playAction->setCheckable(true);
+ stopAction->setCheckable(true);
song->blockSignals(true);
heartBeatTimer = new QTimer(this);
@@ -1698,7 +1700,6 @@ void MusE::kbAccel(int key)
}
}
else if (key == shortcuts[SHRT_STOP].key) {
- //song->setPlay(false);
song->setStop(true);
}
else if (key == shortcuts[SHRT_PLAY_SONG].key ) {
diff --git a/muse/muse/song.cpp b/muse/muse/song.cpp
index 888c4fe2..0f90625b 100644
--- a/muse/muse/song.cpp
+++ b/muse/muse/song.cpp
@@ -430,8 +430,10 @@ void Song::setMasterFlag(bool val)
void Song::setPlay(bool f)
{
// only allow the user to set the button "on"
- if (!f)
+ if (!f) {
+ printf(" setPlay checked\n");
muse->playAction->setChecked(true);
+ }
else {
if (recordAction->isChecked()) {
startUndo();