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'
|
||||
revision = ' beta 1'
|
||||
revision = ' beta 2'
|
||||
milestone = 'Yoitsu'
|
||||
release_number = '88'
|
||||
release_number = '89'
|
||||
projectURL = 'https://syncplay.pl/'
|
||||
|
|
|
@ -1042,8 +1042,11 @@ class SyncplayClient(object):
|
|||
def storeControlPassword(self, room, password):
|
||||
if password:
|
||||
self.controlpasswords[room] = password
|
||||
if self._config['autosaveJoinsToList']:
|
||||
self.ui.addRoomToList(room+":"+password)
|
||||
try:
|
||||
if self._config['autosaveJoinsToList']:
|
||||
self.ui.addRoomToList(room+":"+password)
|
||||
except:
|
||||
pass
|
||||
|
||||
def getControlledRoomPassword(self, room):
|
||||
if room in self.controlpasswords:
|
||||
|
|
|
@ -891,8 +891,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
|
||||
def updateRoomName(self, room=""):
|
||||
self.roomsCombobox.setEditText(room)
|
||||
if self.config['autosaveJoinsToList']:
|
||||
self.addRoomToList(room)
|
||||
try:
|
||||
if self.config['autosaveJoinsToList']:
|
||||
self.addRoomToList(room)
|
||||
except:
|
||||
pass
|
||||
|
||||
def showDebugMessage(self, message):
|
||||
print(message)
|
||||
|
|
Loading…
Reference in New Issue