Skip to content

Commit 6c3ff47

Browse files
committed
use title for tree id in toggle buttons demo
1 parent 460772a commit 6c3ff47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ impl Show for ToggleButtonsCustomisationDemo {
664664
);
665665
});
666666

667-
JsonTree::new("show", &self.value)
667+
JsonTree::new(self.title(), &self.value)
668668
.default_expand(DefaultExpand::All)
669669
.toggle_buttons_state(self.toggle_buttons_state)
670670
.show(ui);

0 commit comments

Comments
 (0)