Rename requestContentsUpdate to requestContentUpdate
This commit is contained in:
@@ -511,7 +511,7 @@ void PlaylistEditor::locateSong(const MPD::Song &s)
|
|||||||
Playlists.highlight(it - Playlists.beginV());
|
Playlists.highlight(it - Playlists.beginV());
|
||||||
Playlists.refresh();
|
Playlists.refresh();
|
||||||
|
|
||||||
requestContentsUpdate();
|
requestContentUpdate();
|
||||||
update();
|
update();
|
||||||
Content.highlight(*song_index);
|
Content.highlight(*song_index);
|
||||||
nextColumn();
|
nextColumn();
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ struct PlaylistEditor: Screen<NC::Window *>, Filterable, HasColumns, HasSongs, S
|
|||||||
void updateTimer();
|
void updateTimer();
|
||||||
|
|
||||||
void requestPlaylistsUpdate() { m_playlists_update_requested = true; }
|
void requestPlaylistsUpdate() { m_playlists_update_requested = true; }
|
||||||
void requestContentsUpdate() { m_content_update_requested = true; }
|
void requestContentUpdate() { m_content_update_requested = true; }
|
||||||
|
|
||||||
void locatePlaylist(const MPD::Playlist &playlist);
|
void locatePlaylist(const MPD::Playlist &playlist);
|
||||||
void locateSong(const MPD::Song &s);
|
void locateSong(const MPD::Song &s);
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ void Status::Changes::playlist(unsigned previous_version)
|
|||||||
void Status::Changes::storedPlaylists()
|
void Status::Changes::storedPlaylists()
|
||||||
{
|
{
|
||||||
myPlaylistEditor->requestPlaylistsUpdate();
|
myPlaylistEditor->requestPlaylistsUpdate();
|
||||||
myPlaylistEditor->requestContentsUpdate();
|
myPlaylistEditor->requestContentUpdate();
|
||||||
if (!myBrowser->isLocal() && myBrowser->inRootDirectory())
|
if (!myBrowser->isLocal() && myBrowser->inRootDirectory())
|
||||||
myBrowser->requestUpdate();
|
myBrowser->requestUpdate();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user