mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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:
parent
ae4560f388
commit
ab3e71cad9
4 changed files with 8 additions and 1 deletions
|
@ -689,6 +689,7 @@ bool save_sudoku(struct sudoku_state_t* state)
|
|||
/* Add a blank line at end */
|
||||
rb->write(fd,"\r\n",2);
|
||||
rb->close(fd);
|
||||
rb->reload_directory();
|
||||
/* Save a copy of the saved state - so we can reload without
|
||||
using the disk */
|
||||
rb->memcpy(state->savedboard,state->currentboard,81);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue