always unlock item list update after clearing the playlist

master
Andrzej Rybczak 17 years ago
parent 1d37102947
commit a2a5398239
  1. 4
      src/ncmpcpp.cpp

@ -1662,6 +1662,10 @@ int main(int argc, char *argv[])
}
ShowMessage("Cleared playlist!");
}
// if playlist is cleared, items list have to be updated, but this
// can be blocked if new song was added to playlist less than one
// second ago, so we need to assume it's unlocked.
BlockItemListUpdate = 0;
UpdateStatusImmediately = 1;
}
else if (Keypressed(input, Key.SortPlaylist) && myScreen == myPlaylist)

Loading…
Cancel
Save