Remember current search

@rainulf  What's the reasoning behind resetting the search?

Fixes #155
This commit is contained in:
mailchuck 2016-01-12 16:37:56 +01:00 committed by Peter Surda
parent b699475906
commit 43a765515a

View File

@ -3903,7 +3903,6 @@ class MyForm(settingsmixin.SMainWindow):
searchOption = self.getCurrentSearchOption() searchOption = self.getCurrentSearchOption()
if searchLine: if searchLine:
searchKeyword = searchLine.text().toUtf8().data() searchKeyword = searchLine.text().toUtf8().data()
searchLine.setText(QString(""))
messageTextedit = self.getCurrentMessageTextedit() messageTextedit = self.getCurrentMessageTextedit()
if messageTextedit: if messageTextedit:
messageTextedit.setPlainText(QString("")) messageTextedit.setPlainText(QString(""))