1
0
Fork 0
forked from len0rd/rockbox

Added reload_directory() to plugin api and modified text editor and sudoku plugins to call it when saving a new file. Fixes B#5360.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10053 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hardeep Sidhu 2006-06-04 16:36:49 +00:00
parent ae4560f388
commit ab3e71cad9
4 changed files with 8 additions and 1 deletions

View file

@ -223,6 +223,10 @@ void save_changes(int overwrite)
return;
}
if (!overwrite)
/* current directory may have changed */
rb->reload_directory();
rb->lcd_clear_display();
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(1);