library: Save after library validation

Otherwise we won't remember what songs we forgot!

Signed-off-by: Anna Schumaker <anna@ocarinaproject.net>
This commit is contained in:
Anna Schumaker 2014-04-08 08:11:36 -04:00
parent 9b417e10aa
commit a470b88a46
1 changed files with 3 additions and 1 deletions

View File

@ -364,8 +364,10 @@ static void do_validate_library(unsigned int &lib_id)
}
}
if (changed == true)
if (changed == true) {
get_callbacks()->on_library_update(lib_id, &(*library_db.at(lib_id)));
save_all_dbs();
}
}
static void do_update_library(unsigned int lib_id)