Fix issue displaying GuiConfig errors when using PyQt >= 5.12.1 (#240)

This commit is contained in:
et0h 2019-06-21 22:26:24 +01:00
parent 291463bb0d
commit b37a514050
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
version = '1.6.4'
revision = ''
milestone = 'Yoitsu'
release_number = '76'
release_number = '77'
projectURL = 'https://syncplay.pl/'

View File

@ -711,7 +711,7 @@ class ConfigDialog(QtWidgets.QDialog):
self.errorLabel.setStyleSheet(constants.STYLE_SUCCESSLABEL)
self.errorLabel.setText(error)
self.errorLabel.setAlignment(Qt.AlignCenter)
self.basicOptionsLayout.addWidget(self.errorLabel, 0, 0)
self.basicOptionsLayout.addWidget(self.errorLabel)
self.connectionSettingsGroup.setMaximumHeight(self.connectionSettingsGroup.minimumSizeHint().height())
self.basicOptionsLayout.setAlignment(Qt.AlignTop)
self.basicOptionsLayout.addWidget(self.connectionSettingsGroup)