Fix for UnicodeEncodeError in search
Entering non-ascii characters (e.g. "ą") in search causes an UnicodeEncodeError. This is a quick fix. Fixes QubesOS/qubes-issues#2562
This commit is contained in:
parent
c214c65589
commit
4a3240bf1a
@ -719,7 +719,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
||||
|
||||
@pyqtSlot(str)
|
||||
def do_search(self, search):
|
||||
self.search = str(search)
|
||||
self.search = unicode(search)
|
||||
self.showhide_vms()
|
||||
self.set_table_geom_size()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user