Skip to content

Commit

Permalink
Emit a "plugins-reloaded" signal when a new addon is installed
Browse files Browse the repository at this point in the history
This ensures that the user interface will be updated to include
the new addon.

Fixes #13021.
  • Loading branch information
Nick-Hall committed Feb 22, 2024
1 parent 11a5cc7 commit 37e42d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gramps/gui/plug/_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ def install_addon(self, addon_id):
)
pdata = self.__preg.get_plugin(addon_id)
self.__pmgr.load_plugin(pdata)
self.__pmgr.emit("plugins-reloaded")

def build_menu_names(self, obj):
return (self.title, self.title)
Expand Down

0 comments on commit 37e42d0

Please sign in to comment.