aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2012-04-29 14:45:56 +1200
committerJonathan Marshall <jmarshall@never.you.mind>2012-04-29 14:45:56 +1200
commit5e265ecee69ac3bec26eda2f2438bbec07cb405e (patch)
tree30f56d962a68a3327410af2b6cfd9e8240e59855
parent0fd07bf9577b75a15f4671e01811941ff6533328 (diff)
mixed smartplaylists would not allow anything other than Playlist as a rule - instead, enable all the song rules
-rw-r--r--xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp b/xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp
index d1a4ab7a86..ff85ad2842 100644
--- a/xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp
+++ b/xbmc/dialogs/GUIDialogSmartPlaylistRule.cpp
@@ -389,7 +389,7 @@ bool CGUIDialogSmartPlaylistRule::EditRule(CSmartPlaylistRule &rule, const CStdS
if (!editor) return false;
editor->m_rule = rule;
- editor->m_type = type;
+ editor->m_type = type == "mixed" ? "songs" : type;
editor->DoModal(g_windowManager.GetActiveWindow());
rule = editor->m_rule;
return !editor->m_cancelled;