diff options
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r-- | apps/plugins/text_editor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index e86606344d..f98194b151 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c | |||
@@ -223,6 +223,10 @@ void save_changes(int overwrite) | |||
223 | return; | 223 | return; |
224 | } | 224 | } |
225 | 225 | ||
226 | if (!overwrite) | ||
227 | /* current directory may have changed */ | ||
228 | rb->reload_directory(); | ||
229 | |||
226 | rb->lcd_clear_display(); | 230 | rb->lcd_clear_display(); |
227 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 231 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
228 | rb->cpu_boost(1); | 232 | rb->cpu_boost(1); |