make sure filter releases any db locks it has
This commit is contained in:
parent
797f04aaab
commit
074a4e751e
|
@ -211,6 +211,9 @@ class Filters(threading.Thread):
|
||||||
self.Button2.connect("clicked", self.callback['button2'], "clicked")
|
self.Button2.connect("clicked", self.callback['button2'], "clicked")
|
||||||
self.Button2.set_sensitive(True)
|
self.Button2.set_sensitive(True)
|
||||||
|
|
||||||
|
# make sure any locks on db are released:
|
||||||
|
self.db.rollback()
|
||||||
|
|
||||||
def get_vbox(self):
|
def get_vbox(self):
|
||||||
"""returns the vbox of this thread"""
|
"""returns the vbox of this thread"""
|
||||||
return self.mainVBox
|
return self.mainVBox
|
||||||
|
|
Loading…
Reference in New Issue
Block a user