Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgii Surkov <37121527+gsurkov@users.noreply.github.com>2022-07-26 14:46:14 +0300
committerGitHub <noreply@github.com>2022-07-26 14:46:14 +0300
commit52a83fc929f125d24136e017661c671d21caac17 (patch)
tree63897136602047ca49705a7642fd6adc1f8b0dbc
parent05b816429c6a1801e26d74467be65da81d44428d (diff)
[FL-2688] Fix incorrect remote renaming behaviour #1455
-rw-r--r--applications/infrared/infrared.c1
1 files changed, 1 insertions, 0 deletions
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);