[vlc-commits] Qt: correctly play after drag and drop
Jean-Baptiste Kempf
git at videolan.org
Mon Oct 7 17:52:16 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 7 17:51:34 2013 +0200| [4a5e824aeefcc447d2ef5887f9ef891676f7b3e3] | committer: Jean-Baptiste Kempf
Qt: correctly play after drag and drop
Close #9502
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a5e824aeefcc447d2ef5887f9ef891676f7b3e3
---
modules/gui/qt4/actions_manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/actions_manager.cpp b/modules/gui/qt4/actions_manager.cpp
index fa3703b..d5595fd 100644
--- a/modules/gui/qt4/actions_manager.cpp
+++ b/modules/gui/qt4/actions_manager.cpp
@@ -105,7 +105,7 @@ void ActionsManager::doAction( int id_action )
void ActionsManager::play()
{
- if( THEPL->current.i_size == 0 )
+ if( THEPL->current.i_size == 0 && THEPL->items.i_size == 0 )
{
/* The playlist is empty, open a file requester */
THEDP->openFileDialog();
More information about the vlc-commits
mailing list