diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2022-09-18 23:31:48 +0100 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2022-09-19 13:57:07 +0100 |
commit | 2a8aeddc93db662e765e372646595c2e21b5be3d (patch) | |
tree | 812287dcf744019f2c78e04465880c7d104e1ede /doc/classes | |
parent | 200b9cde88da485659a6376266af8e9bf7be186f (diff) |
Expose ProjectSettings.set_restart_if_changed(name, restart)
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ProjectSettings.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 3dbf7c75e5..b883687c88 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -159,6 +159,15 @@ Sets the order of a configuration value (influences when saved to the config file). </description> </method> + <method name="set_restart_if_changed"> + <return type="void" /> + <param index="0" name="name" type="String" /> + <param index="1" name="restart" type="bool" /> + <description> + Sets whether a setting requires restarting the editor to properly take effect. + [b]Note:[/b] This is just a hint to display to the user that the editor must be restarted for changes to take effect. Enabling [method set_restart_if_changed] does [i]not[/i] delay the setting being set when changed. + </description> + </method> <method name="set_setting"> <return type="void" /> <param index="0" name="name" type="String" /> |