Commit 9998197a authored by Olivier Teulière's avatar Olivier Teulière

* skins2: Open the file requester dialog when clicking on "play" and the

   playlist is empty
parent 458cd045
......@@ -24,6 +24,7 @@
#include <vlc/aout.h>
#include "cmd_input.hpp"
#include "cmd_dialogs.hpp"
void CmdPlay::execute()
......@@ -34,7 +35,16 @@ void CmdPlay::execute()
return;
}
if( pPlaylist->i_size )
{
playlist_Play( pPlaylist );
}
else
{
// If the playlist is empty, open a file requester instead
CmdDlgFile cmd( getIntf() );
cmd.execute();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment