Skip to content

Commit

Permalink
[pyqgis-console] fix byte conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Sep 21, 2020
1 parent 1c1febc commit bc71fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/console/console.py
Expand Up @@ -572,7 +572,7 @@ def onClickGoToLine(self, item, column):
objName = itemName[0:charPos]
else:
objName = itemName
tabEditor.goToLine(objName, linenr)
tabEditor.goToLine(str.encode(objName), linenr)

def toggleEditor(self, checked):
self.splitterObj.show() if checked else self.splitterObj.hide()
Expand Down

0 comments on commit bc71fae

Please sign in to comment.