resize settings dialog box to fit contents
This commit is contained in:
parent
4a038afb67
commit
2c15dc5a13
|
@ -3150,6 +3150,7 @@ class settingsDialog(QtGui.QDialog):
|
||||||
self.ui.lineEditSocksUsername.setText(str(config.get('bitmessagesettings', 'socksusername')))
|
self.ui.lineEditSocksUsername.setText(str(config.get('bitmessagesettings', 'socksusername')))
|
||||||
self.ui.lineEditSocksPassword.setText(str(config.get('bitmessagesettings', 'sockspassword')))
|
self.ui.lineEditSocksPassword.setText(str(config.get('bitmessagesettings', 'sockspassword')))
|
||||||
QtCore.QObject.connect(self.ui.comboBoxProxyType, QtCore.SIGNAL("currentIndexChanged(int)"), self.comboBoxProxyTypeChanged)
|
QtCore.QObject.connect(self.ui.comboBoxProxyType, QtCore.SIGNAL("currentIndexChanged(int)"), self.comboBoxProxyTypeChanged)
|
||||||
|
QtGui.QWidget.resize(self,QtGui.QWidget.sizeHint(self))
|
||||||
|
|
||||||
def comboBoxProxyTypeChanged(self,comboBoxIndex):
|
def comboBoxProxyTypeChanged(self,comboBoxIndex):
|
||||||
if comboBoxIndex == 0:
|
if comboBoxIndex == 0:
|
||||||
|
|
Reference in New Issue
Block a user