Save absolute path for media in GuiConfig

This commit is contained in:
Etoh 2013-06-06 21:46:13 +02:00
parent 90ed5d4010
commit 43ab5f8936

View File

@ -129,7 +129,7 @@ class ConfigDialog(QtGui.QDialog):
self.config['room'] = self.defaultroomTextbox.text()
self.config['password'] = self.serverpassTextbox.text()
self.config['playerPath'] = self.executablepathCombobox.currentText()
self.config['file'] = self.mediapathTextbox.text()
self.config['file'] = os.path.abspath(self.mediapathTextbox.text())
if self.alwaysshowCheckbox.isChecked() == True:
self.config['forceGuiPrompt'] = True
else: