We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38de708 + e034eee commit 1af07d5Copy full SHA for 1af07d5
docs/application/application.md
@@ -834,3 +834,27 @@ if (selectedItems){
834
// No projectItems selected.
835
}
836
```
837
+
838
+---
839
840
+### app.broadcastPrefsChanged()
841
842
+`app.broadcastPrefsChanged()`
843
844
+#### Description
845
846
+Notifies Application that preferences have changed.
847
848
+#### Parameters
849
850
+String ID of the preference that changed. (currently only listens to "BE::PreferencesScratchDisksChanged")
851
852
+#### Returns
853
854
+Returns `true` if update was successful.
855
856
+#### Example
857
858
+```js
859
+app.broadcastPrefsChanged("BE::PreferencesScratchDisksChanged");
860
+```
0 commit comments