diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py index 5ec1a7e..e059611 100644 --- a/syncplay/ui/GuiConfiguration.py +++ b/syncplay/ui/GuiConfiguration.py @@ -134,7 +134,7 @@ class ConfigDialog(QtGui.QDialog): return foundpath def updateExecutableIcon(self): - currentplayerpath = self.executablepathCombobox.currentText() + currentplayerpath = unicode(self.executablepathCombobox.currentText()) iconpath = PlayerFactory().getPlayerIconByPath(currentplayerpath) if iconpath != None and iconpath != "": self.executableiconImage.load(self.resourcespath + iconpath) @@ -906,4 +906,4 @@ class ConfigDialog(QtGui.QDialog): if constants.SHOW_TOOLTIPS: self.processWidget(self, lambda w: self.loadTooltips(w)) self.processWidget(self, lambda w: self.loadValues(w)) - self.processWidget(self, lambda w: self.connectChildren(w)) \ No newline at end of file + self.processWidget(self, lambda w: self.connectChildren(w))