diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-27 19:09:20 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-27 19:09:20 +0000 |
| commit | 6f42fc16aa3b35750598e4322c3dbd1792e66e7d (patch) | |
| tree | 5f14a0d19e3e400bfadf924e3ba7c8b9e3cf8eaa | |
| parent | 385ed55c91b1bb50fb98dce6744b2ab139568f60 (diff) | |
| download | qmmp-6f42fc16aa3b35750598e4322c3dbd1792e66e7d.tar.gz qmmp-6f42fc16aa3b35750598e4322c3dbd1792e66e7d.tar.bz2 qmmp-6f42fc16aa3b35750598e4322c3dbd1792e66e7d.zip | |
fixed next/previous command in pause mode
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@641 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/ui/mainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index a13005ae2..3be819487 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -275,6 +275,8 @@ void MainWindow::next() m_playlist->update(); if (m_core->state() != Qmmp::Stopped) { + if (m_core->state() == Qmmp::Paused) + stop(); m_elapsed = 0; play(); } @@ -294,6 +296,8 @@ void MainWindow::previous() m_playlist->update(); if (m_core->state() != Qmmp::Stopped) { + if (m_core->state() == Qmmp::Paused) + stop(); m_elapsed = 0; play(); } |
