diff options
-rw-r--r-- | cardlist.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cardlist.py b/cardlist.py index 4e2d347..8c23db0 100644 --- a/cardlist.py +++ b/cardlist.py @@ -185,6 +185,10 @@ class CardList(gtk.EventBox): if not load: self.model.mark_modified() self.pair_list_modified = True + # workaround, this is not working + # self.tray.scroll_to_item(pair) + adj = self.tray._viewport.get_vadjustment() + adj.set_value(adj.get_upper()) if show: self.show_all() |