Skip to content

Commit 741a94c

Browse files
committed
Fix PluginManager to update buttons on top item when Filtering
1 parent ff08e5c commit 741a94c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PluginManager/PluginManager.gpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
name = _("Plugin Manager Enhanced"),
3030
description = _("An Addon/Plugin Manager with several additional "
3131
"capabilities"),
32-
version = '1.0.16',
32+
version = '1.0.17',
3333
gramps_target_version = '5.0',
3434
fname = "PluginManagerLoad.py",
3535
authors = ["Paul Culley"],

PluginManager/PluginManager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,10 @@ def __rebuild_reg_list(self, path=None, rescan=True):
567567
self._selection_reg.select_path(path)
568568
if len(self._tree_filter):
569569
self._list_reg.scroll_to_cell(path, None, True, 0.5, 0)
570+
self._cursor_changed(None)
570571

571572
def _cursor_changed(self, obj):
572-
model, node = obj.get_selected()
573+
model, node = self._selection_reg.get_selected()
573574
if not node:
574575
return
575576
status = model.get_value(node, R_STAT)

0 commit comments

Comments
 (0)