Fix bug where categories would stay selected until passed over again.
This commit is contained in:
parent
84aa87727f
commit
9c471564f8
@ -843,6 +843,7 @@ class pluginclass( object ):
|
|||||||
self.current_results = []
|
self.current_results = []
|
||||||
|
|
||||||
for i in self.categoriesBox.get_children():
|
for i in self.categoriesBox.get_children():
|
||||||
|
i.released()
|
||||||
i.set_relief( Gtk.ReliefStyle.NONE )
|
i.set_relief( Gtk.ReliefStyle.NONE )
|
||||||
|
|
||||||
allButton = self.categoriesBox.get_children()[0];
|
allButton = self.categoriesBox.get_children()[0];
|
||||||
@ -864,6 +865,7 @@ class pluginclass( object ):
|
|||||||
i.filterCategory( category )
|
i.filterCategory( category )
|
||||||
|
|
||||||
for i in self.categoriesBox.get_children():
|
for i in self.categoriesBox.get_children():
|
||||||
|
i.released()
|
||||||
i.set_relief( Gtk.ReliefStyle.NONE )
|
i.set_relief( Gtk.ReliefStyle.NONE )
|
||||||
widget.set_relief( Gtk.ReliefStyle.HALF )
|
widget.set_relief( Gtk.ReliefStyle.HALF )
|
||||||
widget.grab_focus()
|
widget.grab_focus()
|
||||||
|
Loading…
Reference in New Issue
Block a user