mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-28 08:50:26 +00:00
Always store default port if no port is specified in GuiConfig
This commit is contained in:
parent
520106c44e
commit
d6da00dd60
@ -171,7 +171,7 @@ class ConfigDialog(QtGui.QDialog):
|
||||
self.saveMediaBrowseSettings()
|
||||
|
||||
def _saveDataAndLeave(self):
|
||||
self.config['host'] = self.hostTextbox.text()
|
||||
self.config['host'] = self.hostTextbox.text() if ":" in self.hostTextbox.text() else self.hostTextbox.text() + ":" + unicode(constants.DEFAULT_PORT)
|
||||
self.config['name'] = self.usernameTextbox.text()
|
||||
self.config['room'] = self.defaultroomTextbox.text()
|
||||
self.config['password'] = self.serverpassTextbox.text()
|
||||
|
Loading…
Reference in New Issue
Block a user