mirror of https://github.com/Syncplay/syncplay
Fix crash when launching with managed room specified (#357)
This commit is contained in:
parent
175c1775aa
commit
69607c740c
|
@ -1,5 +1,5 @@
|
||||||
version = '1.6.6'
|
version = '1.6.6'
|
||||||
revision = ' beta 1'
|
revision = ' beta 2'
|
||||||
milestone = 'Yoitsu'
|
milestone = 'Yoitsu'
|
||||||
release_number = '88'
|
release_number = '89'
|
||||||
projectURL = 'https://syncplay.pl/'
|
projectURL = 'https://syncplay.pl/'
|
||||||
|
|
|
@ -1042,8 +1042,11 @@ class SyncplayClient(object):
|
||||||
def storeControlPassword(self, room, password):
|
def storeControlPassword(self, room, password):
|
||||||
if password:
|
if password:
|
||||||
self.controlpasswords[room] = password
|
self.controlpasswords[room] = password
|
||||||
if self._config['autosaveJoinsToList']:
|
try:
|
||||||
self.ui.addRoomToList(room+":"+password)
|
if self._config['autosaveJoinsToList']:
|
||||||
|
self.ui.addRoomToList(room+":"+password)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def getControlledRoomPassword(self, room):
|
def getControlledRoomPassword(self, room):
|
||||||
if room in self.controlpasswords:
|
if room in self.controlpasswords:
|
||||||
|
|
|
@ -891,8 +891,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
def updateRoomName(self, room=""):
|
def updateRoomName(self, room=""):
|
||||||
self.roomsCombobox.setEditText(room)
|
self.roomsCombobox.setEditText(room)
|
||||||
if self.config['autosaveJoinsToList']:
|
try:
|
||||||
self.addRoomToList(room)
|
if self.config['autosaveJoinsToList']:
|
||||||
|
self.addRoomToList(room)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def showDebugMessage(self, message):
|
def showDebugMessage(self, message):
|
||||||
print(message)
|
print(message)
|
||||||
|
|
Loading…
Reference in New Issue