From: Peter L. <pet...@te...> - 2008-01-10 08:05:13
|
Den Thursday 10 January 2008 08.55.08 skrev Raphael Ackermann: > In the method below is active set to True or False. But active is a > local variable in the scope of filter_toggle and not used for > anything. There is also a self.active variable and a method > set_inactive() in this module. Is this method still used but the > assignments to active not, or should they be changed to self.active or > something? > > >From class ListView: > > def filter_toggle(self, client, cnxn_id, entry, data): > if Config.get(Config.FILTER): > self.search_bar.hide() > self.filter_pane.show() > active = True > else: > self.search_bar.show() > self.filter_pane.hide() > active = False > > > Raphael Could this have something to do with: http://bugs.gramps-project.org/view.php?id=1420 ? /Peter |