(Do not) Remember expanded paths in GuiConfig [Rollback]
This commit is contained in:
parent
f94d60c837
commit
fbeb69f5cd
@ -82,15 +82,7 @@ class ConfigDialog(QtGui.QDialog):
|
||||
settings.endGroup()
|
||||
foundpath = ""
|
||||
|
||||
if playerpath != None and playerpath != "":
|
||||
if not os.path.isfile(playerpath):
|
||||
from syncplay.players.playerFactory import PlayerFactory
|
||||
self._playerFactory = PlayerFactory()
|
||||
expandedpath = self._playerFactory.getPlayerByPath(playerpath).getExpandedPath(playerpath)
|
||||
if os.path.isfile(expandedpath):
|
||||
playerpath = expandedpath
|
||||
|
||||
if os.path.isfile(playerpath):
|
||||
if playerpath != None and playerpath != "" and os.path.isfile(playerpath):
|
||||
foundpath = playerpath
|
||||
self.executablepathCombobox.addItem(foundpath)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user