浏览代码

Docs: fix arg name of toggled signal in BaseButton

arg was renamed in #15530 but the description wasn't updated
Poommetee Ketson 6 年之前
父节点
当前提交
57b82873fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/BaseButton.xml

+ 1 - 1
doc/classes/BaseButton.xml

@@ -92,7 +92,7 @@
 			<argument index="0" name="button_pressed" type="bool">
 			<argument index="0" name="button_pressed" type="bool">
 			</argument>
 			</argument>
 			<description>
 			<description>
-				This signal is emitted when the button was just toggled between pressed and normal states (only if toggle_mode is active). The new state is contained in the [i]pressed[/i] argument.
+				This signal is emitted when the button was just toggled between pressed and normal states (only if toggle_mode is active). The new state is contained in the [i]button_pressed[/i] argument.
 			</description>
 			</description>
 		</signal>
 		</signal>
 	</signals>
 	</signals>