--- a/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py Fri Mar 07 19:20:36 2014 +0100 +++ b/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py Sat Mar 08 20:09:41 2014 +0100 @@ -706,8 +706,8 @@ self.resize(size) self.setWindowTitle(self.cw.windowTitle()) - self.cw.buttonBox.accepted[()].connect(self.accept) - self.cw.buttonBox.rejected[()].connect(self.reject) + self.cw.buttonBox.accepted.connect(self.accept) + self.cw.buttonBox.rejected.connect(self.reject) def getCode(self, indLevel, indString): """ @@ -740,5 +740,5 @@ self.setStyle( Preferences.getUI("Style"), Preferences.getUI("StyleSheet")) - self.cw.buttonBox.accepted[()].connect(self.close) - self.cw.buttonBox.rejected[()].connect(self.close) + self.cw.buttonBox.accepted.connect(self.close) + self.cw.buttonBox.rejected.connect(self.close)