From 52a83fc929f125d24136e017661c671d21caac17 Mon Sep 17 00:00:00 2001 From: Georgii Surkov <37121527+gsurkov@users.noreply.github.com> Date: Tue, 26 Jul 2022 14:46:14 +0300 Subject: [FL-2688] Fix incorrect remote renaming behaviour #1455 --- applications/infrared/infrared.c | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/infrared/infrared.c b/applications/infrared/infrared.c index 1dd0dfa6..cd4c148c 100644 --- a/applications/infrared/infrared.c +++ b/applications/infrared/infrared.c @@ -307,6 +307,7 @@ bool infrared_rename_current_remote(Infrared* infrared, const char* name) { FS_Error status = storage_common_rename( storage, infrared_remote_get_path(remote), string_get_cstr(new_path)); infrared_remote_set_name(remote, string_get_cstr(new_name)); + infrared_remote_set_path(remote, string_get_cstr(new_path)); string_clear(new_name); string_clear(new_path); -- cgit v1.2.3