Fix UI bug when toggling moreOptions
This commit is contained in:
parent
c00270aef9
commit
2983dbc69a
@ -69,8 +69,8 @@ class ConfigDialog(QtGui.QDialog):
|
||||
self.saveMoreState(False)
|
||||
self.stackedLayout.setCurrentIndex(0)
|
||||
newHeight = self.connectionSettingsGroup.minimumSizeHint().height()+self.mediaplayerSettingsGroup.minimumSizeHint().height()+self.bottomButtonFrame.minimumSizeHint().height()+3
|
||||
if self.errorLabel.isVisible():
|
||||
newHeight +=self.errorLabel.height()+3
|
||||
if self.error:
|
||||
newHeight += self.errorLabel.height()+3
|
||||
self.stackedFrame.setFixedHeight(newHeight)
|
||||
self.adjustSize()
|
||||
self.setFixedSize(self.sizeHint())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user