From 7281e640fb942f3e827c9cd934ef87cb8c3be1a5 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 5 Jul 2014 02:26:49 +0100 Subject: [PATCH] Minor bugfix in the video lock checkbox --- source/app/plaYUVerApp.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index a7dd23e..10c6d1b 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -657,12 +657,13 @@ Void plaYUVerApp::lockButtonEvent() { if( m_acPlayingSubWindows.contains( m_pcCurrentSubWindow ) ) { - stop(); - play(); + m_acPlayingSubWindows.clear(); + m_acPlayingSubWindows.append(m_pcCurrentSubWindow); } else { - stop(); + if( m_acPlayingSubWindows.size() > 1 ) + m_acPlayingSubWindows.clear(); } } }