Fixed newly introduced bug where only http:// prefixed URLs could only be deleted.
parent
bb395883cc
commit
1e89a44f45
|
|
@ -322,7 +322,7 @@ void LLPanelLandAudio::onBtnStreamDelete()
|
|||
std::string current_url = (*it).asString();
|
||||
// <FS:Testy> FIRE-29157 - Stream can't be deleted if onCommitAny() prepended "http://" to the URL since it doesn't match in the list.
|
||||
//if (current_url != music_url)
|
||||
if (current_url != music_url && !music_url_no_http.empty() && current_url != music_url_no_http)
|
||||
if (current_url != music_url && !(current_url.find("://") == std::string::npos && current_url == music_url_no_http))
|
||||
{
|
||||
streamlist_new["audio"].append(current_url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue