This commit is contained in:
Kovid Goyal 2014-06-25 08:41:48 +05:30
parent 87d2e742ad
commit 83ac73c676

View File

@ -574,7 +574,7 @@ class FileList(QTreeWidget):
self.reorder_spine.emit(order)
def item_double_clicked(self, item, column):
category = unicode(item.data(0, CATEGORY_ROLE).toString())
category = unicode(item.data(0, CATEGORY_ROLE) or '')
if category:
self._request_edit(item)