From bc084bc10b6bc64164a357567c542b94ba967ea3 Mon Sep 17 00:00:00 2001 From: VodBox Date: Mon, 31 Aug 2020 11:52:34 +1200 Subject: [PATCH] docs/sphinx: Fix incorrect callback information --- docs/sphinx/scripting.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/scripting.rst b/docs/sphinx/scripting.rst index 855abd728..cb55300c1 100644 --- a/docs/sphinx/scripting.rst +++ b/docs/sphinx/scripting.rst @@ -274,8 +274,10 @@ modules/namespaces). .. py:function:: obs_properties_add_button(properties, setting_name, text, callback) - Adds a button properties to an obs_properties_t object. The callback - takes no parameters. + Adds a button property to an obs_properties_t object. The callback + takes two parameters: the first parameter is the obs_properties_t + object, and the second parameter is the obs_property_t for the + button. :param properties: An obs_properties_t object. :param setting_name: A setting identifier string.