[Plugin] Per directory defaults (#5428)
This commit is contained in:
1 parent
d79771f4d9
commit
8ed088159c
6 files changed
+156
No files matched your search
@@ -382,6 +382,9 @@ function ReaderUI:init()
|
||||
})
|
||||
end
|
||||
|
||||
-- Allow others to change settings based on external factors
|
||||
-- Must be called after plugins are loaded & before setting are read.
|
||||
self:handleEvent(Event:new("DocSettingsLoad", self.doc_settings, self.document))
|
||||
-- we only read settings after all the widgets are initialized
|
||||
self:handleEvent(Event:new("ReadSettings", self.doc_settings))
|
||||
|
||||
|
||||
Reference in new issue
Block a user