summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c
index c7d348685..5cfc635da 100644
--- a/src/gui/gui-layout.c
+++ b/src/gui/gui-layout.c
@@ -1050,6 +1050,9 @@ gui_layout_add_to_infolist (struct t_infolist *infolist,
if (!ptr_item)
return 0;
+ if (!infolist_new_var_integer (ptr_item, "current_layout",
+ (gui_layout_current == layout) ? 1 : 0))
+ return 0;
if (!infolist_new_var_string (ptr_item, "name", layout->name))
return 0;
if (!infolist_new_var_integer (ptr_item, "internal_id", layout->internal_id))