docs: Fix widget.wibox.slider example (#3923)
This commit is contained in:
parent
8b1f8958b4
commit
ad0290bc1a
|
@ -27,7 +27,7 @@ widget:connect_signal("property::value", function(_, new_value)
|
||||||
error(string.format("unexpected value %s", new_value))
|
error(string.format("unexpected value %s", new_value))
|
||||||
end
|
end
|
||||||
--DOC_HIDE_END
|
--DOC_HIDE_END
|
||||||
naughty.notify { title = "Slider changed", message = new_value }
|
naughty.notify { title = "Slider changed", message = tostring(new_value) }
|
||||||
end)
|
end)
|
||||||
|
|
||||||
--DOC_HIDE_START
|
--DOC_HIDE_START
|
||||||
|
|
Loading…
Reference in New Issue