From 2c15dc5a1389d3ca27c8af7735ccd1b937ab79b9 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Wed, 27 Feb 2013 00:11:04 -0500 Subject: [PATCH] resize settings dialog box to fit contents --- bitmessagemain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitmessagemain.py b/bitmessagemain.py index 2092fabd..ad8aae07 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -3150,6 +3150,7 @@ class settingsDialog(QtGui.QDialog): self.ui.lineEditSocksUsername.setText(str(config.get('bitmessagesettings', 'socksusername'))) self.ui.lineEditSocksPassword.setText(str(config.get('bitmessagesettings', 'sockspassword'))) QtCore.QObject.connect(self.ui.comboBoxProxyType, QtCore.SIGNAL("currentIndexChanged(int)"), self.comboBoxProxyTypeChanged) + QtGui.QWidget.resize(self,QtGui.QWidget.sizeHint(self)) def comboBoxProxyTypeChanged(self,comboBoxIndex): if comboBoxIndex == 0: