diff --git a/doc/classes/UndoRedo.xml b/doc/classes/UndoRedo.xml
index c5651c1e6c..3cd38bef67 100644
--- a/doc/classes/UndoRedo.xml
+++ b/doc/classes/UndoRedo.xml
@@ -241,7 +241,7 @@
- Redo the last action.
+ Redo the last action. Returns [code]false[/code] if there was no action to redo.
@@ -253,7 +253,7 @@
- Undo the last action.
+ Undo the last action. Returns [code]false[/code] if there was no action to undo.