PluginManager/PluginInstallDialog.py

changeset 3345
071afe8be2a1
parent 3190
a9a94491c4fd
child 3484
645c12de6b0c
child 3529
fe95bb87d3c8
--- a/PluginManager/PluginInstallDialog.py	Fri Mar 07 19:20:36 2014 +0100
+++ b/PluginManager/PluginInstallDialog.py	Sat Mar 08 20:09:41 2014 +0100
@@ -580,8 +580,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 restartNeeded(self):
         """
@@ -614,5 +614,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)

eric ide

mercurial