--- a/Preferences/ShortcutDialog.py Sun Mar 30 22:00:14 2014 +0200 +++ b/Preferences/ShortcutDialog.py Thu Apr 03 23:05:31 2014 +0200 @@ -43,10 +43,10 @@ self.noCheck = False self.objectType = "" - self.primaryClearButton.clicked[()].connect(self.__clear) - self.alternateClearButton.clicked[()].connect(self.__clear) - self.primaryButton.clicked[()].connect(self.__typeChanged) - self.alternateButton.clicked[()].connect(self.__typeChanged) + self.primaryClearButton.clicked.connect(self.__clear) + self.alternateClearButton.clicked.connect(self.__clear) + self.primaryButton.clicked.connect(self.__typeChanged) + self.alternateButton.clicked.connect(self.__typeChanged) self.shortcutsGroup.installEventFilter(self) self.primaryButton.installEventFilter(self) @@ -58,6 +58,9 @@ self.buttonBox.button(QDialogButtonBox.Ok).installEventFilter(self) self.buttonBox.button(QDialogButtonBox.Cancel).installEventFilter(self) + + msh = self.minimumSizeHint() + self.resize(max(self.width(), msh.width()), msh.height()) def setKeys(self, key, alternateKey, noCheck, objectType): """