From ad0290bc1aac3ec2391aa14784146a53ebf9d1f0 Mon Sep 17 00:00:00 2001 From: Cyan903 <88910588+Cyan903@users.noreply.github.com> Date: Thu, 6 Jun 2024 04:23:54 -0400 Subject: [PATCH] docs: Fix widget.wibox.slider example (#3923) --- tests/examples/wibox/widget/defaults/slider.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/wibox/widget/defaults/slider.lua b/tests/examples/wibox/widget/defaults/slider.lua index 1450a871e..b7b96387d 100644 --- a/tests/examples/wibox/widget/defaults/slider.lua +++ b/tests/examples/wibox/widget/defaults/slider.lua @@ -27,7 +27,7 @@ widget:connect_signal("property::value", function(_, new_value) error(string.format("unexpected value %s", new_value)) end --DOC_HIDE_END - naughty.notify { title = "Slider changed", message = new_value } + naughty.notify { title = "Slider changed", message = tostring(new_value) } end) --DOC_HIDE_START