diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-01-20 13:11:57 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2016-01-20 13:11:57 +0100 |
commit | fe24244d85de4a878b9887e9bbeb9f03518163d3 (patch) | |
tree | 091a021142a18a7174820049d8207f4adb9cf5c7 | |
parent | 232a184ae7cdf06bfd27de56a64ac7c2e17e4859 (diff) | |
parent | 32bba719713ccd46a4708a249c3ef671a633f29d (diff) |
Merge pull request #8918 from MartijnKaijser/8879
ignore default select action on scripts - fixes #16516
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/video/windows/GUIWindowVideoBase.cpp b/xbmc/video/windows/GUIWindowVideoBase.cpp index d19d3c3473..71bf331632 100644 --- a/xbmc/video/windows/GUIWindowVideoBase.cpp +++ b/xbmc/video/windows/GUIWindowVideoBase.cpp @@ -624,7 +624,8 @@ bool CGUIWindowVideoBase::OnSelect(int iItem) if (!item->m_bIsFolder && path != "add" && path != "addons://more/video" && !StringUtils::StartsWith(path, "newsmartplaylist://") && !StringUtils::StartsWith(path, "newplaylist://") && - !StringUtils::StartsWith(path, "newtag://")) + !StringUtils::StartsWith(path, "newtag://") && + !StringUtils::StartsWith(path, "script://")) return OnFileAction(iItem, CSettings::GetInstance().GetInt(CSettings::SETTING_MYVIDEOS_SELECTACTION)); return CGUIMediaWindow::OnSelect(iItem); |