enable playlist highlighting after saving playlist

This commit is contained in:
Andrzej Rybczak
2009-03-16 16:36:48 +01:00
parent 20055afac4
commit 8a1223aa18

View File

@@ -583,7 +583,7 @@ int main(int argc, char *argv[])
MessagesAllowed = 0; MessagesAllowed = 0;
while (in != 'y' && in != 'n') while (in != 'y' && in != 'n')
{ {
Mpd->UpdateStatus(); TraceMpdStatus();
wFooter->ReadKey(in); wFooter->ReadKey(in);
} }
MessagesAllowed = 1; MessagesAllowed = 1;
@@ -599,6 +599,8 @@ int main(int argc, char *argv[])
curs_set(0); curs_set(0);
myPlaylistEditor->Playlists->Clear(0); // make playlist's list update itself myPlaylistEditor->Playlists->Clear(0); // make playlist's list update itself
UnlockStatusbar(); UnlockStatusbar();
if (myScreen == myPlaylist)
myPlaylist->EnableHighlighting();
} }
} }
if (!Config.local_browser && myBrowser->CurrentDir() == "/" && !myBrowser->Main()->Empty()) if (!Config.local_browser && myBrowser->CurrentDir() == "/" && !myBrowser->Main()->Empty())