From 8f23f4b44e043c6a7f69e96369e6c26fe9fd205b Mon Sep 17 00:00:00 2001 From: Alexander Holland Date: Thu, 14 Feb 2019 00:52:51 +0100 Subject: UndoRedo add version changed signal added some functions to manage undo buttons --- doc/classes/UndoRedo.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/UndoRedo.xml b/doc/classes/UndoRedo.xml index c0b73cd8e3..b6e458b43f 100644 --- a/doc/classes/UndoRedo.xml +++ b/doc/classes/UndoRedo.xml @@ -141,6 +141,20 @@ This is useful mostly to check if something changed from a saved version. + + + + + Returns [code]true[/code] if an 'redo' action is available. + + + + + + + Returns [code]true[/code] if an 'undo' action is available. + + @@ -162,6 +176,13 @@ + + + + Called when [method undo] or [method redo] was called. + + + Makes [code]do[/code]/[code]undo[/code] operations stay in separate actions. -- cgit v1.2.3