remove tmp file when closing tab
This commit is contained in:
@@ -94,6 +94,10 @@ class FilterWidget(QWidget):
|
||||
self.layout.addWidget(filter_bar)
|
||||
self.layout.addWidget(self.hits_view)
|
||||
|
||||
def destruct(self):
|
||||
print("cleanup: ", self.tmpfilename)
|
||||
os.remove(self.tmpfilename)
|
||||
|
||||
def filter_changed(self):
|
||||
query = self.query_field.text()
|
||||
ignore_case = self.ignore_case.isChecked()
|
||||
|
||||
Reference in New Issue
Block a user