From ef6be53702386cd9b5c53a87cb65bb113773fa31 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Fri, 17 May 2019 17:34:55 +0300 Subject: [PATCH] Do not convert search option because helper_search compares it to the result of _translate() --- src/bitmessageqt/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 559ad0dd..0fdfd915 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -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):