in treewidget.py:
@ui_current_widget def show_file_annotate(self): """Show qannotate for selected file.""" index = self.currentIndex() file_id = unicode(index.data(self.tree_model.FILEID).toString()) path = unicode(index.data(self.tree_model.PATH).toString())
file_id should NEVER be unicode.
in treewidget.py:
@ui_ current_ widget annotate( self): index.data( self.tree_ model.FILEID) .toString( )) index.data( self.tree_ model.PATH) .toString( ))
def show_file_
"""Show qannotate for selected file."""
index = self.currentIndex()
file_id = unicode(
path = unicode(
file_id should NEVER be unicode.