Commit d948c34d authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: add reseting currentItem to NULL in rebuild() in playlist_model

Set currentItem to NULL if there aren't anything playing on rebuild()
parent 1e4bb1e0
......@@ -758,6 +758,10 @@ void PLModel::rebuild( playlist_item_t *p_root )
true, false );
}
}
else
{
currentItem = NULL;
}
PL_UNLOCK;
/* And signal the view */
......
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