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.set_sensitive(True)
|
||||
|
||||
# make sure any locks on db are released:
|
||||
self.db.rollback()
|
||||
|
||||
def get_vbox(self):
|
||||
"""returns the vbox of this thread"""
|
||||
return self.mainVBox
|
||||
|
|
Loading…
Reference in New Issue
Block a user