aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/mainwindow.cpp4
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();
}