mirror of
https://github.com/alberti42/obsidian-plugins-annotations.git
synced 2026-07-22 10:10:24 +00:00
Detect changes to data.json which can be caused by the synchronization engine or an external editor and update the setting pane automatically.
This commit is contained in:
parent
62c403a316
commit
b5e9663b5d
1 changed files with 4 additions and 0 deletions
|
|
@ -338,6 +338,10 @@ export default class PluginsAnnotations extends Plugin {
|
|||
|
||||
// Update the community plugin pane if this is currently open
|
||||
this.updateCommunityPluginPaneIfOpened([loadSettingsPromise]);
|
||||
|
||||
// Update the preference pane if this is currently open
|
||||
const activeTab = this.app.setting.activeTab;
|
||||
if(activeTab && activeTab instanceof PluginsAnnotationsSettingTab) activeTab.display();
|
||||
}
|
||||
|
||||
// Store the path to the vault
|
||||
|
|
|
|||
Loading…
Reference in a new issue