Do not convert search option because helper_search compares it

to the result of _translate()
This commit is contained in:
Dmitri Bogomolov 2019-05-17 17:34:55 +03:00
parent 045a2ef443
commit ef6be53702
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -3497,9 +3497,7 @@ class MyForm(settingsmixin.SMainWindow):
self.ui.inboxSearchOptionChans,
]
if currentIndex >= 0 and currentIndex < len(messagelistList):
return messagelistList[currentIndex].currentText().toUtf8().data()
else:
return None
return messagelistList[currentIndex].currentText()
# Group of functions for the Your Identities dialog box
def getCurrentItem(self, treeWidget=None):