From 6f42fc16aa3b35750598e4322c3dbd1792e66e7d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 27 Nov 2008 19:09:20 +0000 Subject: 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 --- src/ui/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- cgit v1.2.3-13-gbd6f