From 36508c27fddfb84d912e0122e313ad3904ceb946 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Fri, 3 Jan 2025 17:19:19 -0700 Subject: [PATCH] fix(studio): Allow adding layers after a layer move (#2748) Properly return the available layers in the move layer response. --- app/src/studio/keymap_subsystem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/studio/keymap_subsystem.c b/app/src/studio/keymap_subsystem.c index 6ac1e7efc..1b88a4b8f 100644 --- a/app/src/studio/keymap_subsystem.c +++ b/app/src/studio/keymap_subsystem.c @@ -367,6 +367,7 @@ zmk_studio_Response move_layer(const zmk_studio_Request *req) { if (ret >= 0) { resp.which_result = zmk_keymap_SetActivePhysicalLayoutResponse_ok_tag; resp.result.ok.layers.funcs.encode = encode_keymap_layers; + populate_keymap_extra_props(&resp.result.ok); raise_zmk_studio_rpc_notification((struct zmk_studio_rpc_notification){ .notification = KEYMAP_NOTIFICATION(unsaved_changes_status_changed, true)});