From c762d7ed01b0a1b50953b1cd57359a7074759e54 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Tue, 28 May 2013 17:04:23 -0400 Subject: [PATCH] Added menu option to delete all trashed messages --- src/bitmessageqt/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index dd383bfe..add21421 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -777,9 +777,10 @@ class MyForm(QtGui.QMainWindow): shared.sqlSubmitQueue.put('''delete from sent where folder='trash' ''') shared.sqlSubmitQueue.put('') shared.sqlReturnQueue.get() - shared.sqlSubmitQueue.put('commit') #Commit takes no parameters + shared.sqlSubmitQueue.put('commit') #Commit takes no parameters and returns nothing shared.sqlSubmitQueue.put('vacuum') shared.sqlSubmitQueue.put('') + shared.sqlReturnQueue.get() shared.sqlLock.release() def click_actionRegenerateDeterministicAddresses(self):