Skip to content

Commit

Permalink
Delete song from sqlite cache instead of text index
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Jun 16, 2018
1 parent f42e255 commit 500120e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ bool Song::ReloadFromSongDir( const RString &sDir )
// Remove the cache file to force the song to reload from its dir instead
// of loading from the cache. -Kyz
FILEMAN->Remove(GetCacheFilePath());
SONGINDEX.DeleteSongFromDBByDir(sDir.c_str());

vector<Steps*> vOldSteps = m_vpSteps;

Expand Down

0 comments on commit 500120e

Please sign in to comment.