PlaylistContainer: Fix filter text when switching playlist

Fixes #1005
This commit is contained in:
Jonas Kvinge 2022-07-26 07:34:58 +02:00
parent b02e0aae98
commit 33581fa61d
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ void PlaylistContainer::SetViewModel(Playlist *playlist, const int scroll_positi
// Update filter
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
ui_->filter->setText(playlist->proxy()->filterRegularExpression().pattern());
ui_->filter->setText(playlist->proxy()->filterRegularExpression().pattern().remove('\\'));
#else
ui_->filter->setText(playlist->proxy()->filterRegExp().pattern());
#endif