summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index dafb2eb5..254ac0e7 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -309,7 +309,7 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
}
else {
print_columns = g_new (gint, 2);
- print_columns[0] = 1;
+ print_columns[0] = (tree_data->radiobox || tree_data->checkbox ? 2 : 1);
print_columns[1] = 0;
}
bgstack15