From 7337880bbe398f472eb9a641c6b3f0cb0feffaa5 Mon Sep 17 00:00:00 2001 From: Philip Ruhland Date: Mon, 27 May 2024 23:32:45 +0200 Subject: [PATCH 1/2] Change Command attribute to `text` instead label Probably something was left behind after the change Signed-off-by: Philip Ruhland --- docs/reference/api/resources/command.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/api/resources/command.rst b/docs/reference/api/resources/command.rst index 9eb805f59e..9f2067bfcb 100644 --- a/docs/reference/api/resources/command.rst +++ b/docs/reference/api/resources/command.rst @@ -44,7 +44,7 @@ For example: cmd1 = toga.Command( callback, - label='Example command', + text='Example command', tooltip='Tells you when it has been activated', shortcut=toga.Key.MOD_1 + 'k', icon='icons/pretty.png', From 0a97bf9d901dafdb00feb5e3f956e103145d3f7f Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 28 May 2024 07:24:26 +0800 Subject: [PATCH 2/2] Add changenote. --- changes/2605.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/2605.misc.rst diff --git a/changes/2605.misc.rst b/changes/2605.misc.rst new file mode 100644 index 0000000000..b7248b22ee --- /dev/null +++ b/changes/2605.misc.rst @@ -0,0 +1 @@ +An error in an example argument was corrected.