PluginManager/PluginUninstallDialog.py

changeset 881
ff23d907f87b
parent 791
9ec2ac20e54e
child 945
8cd4d08fa9f6
child 1231
0cbbf4eac0e1
diff -r 52ed20236a1c -r ff23d907f87b PluginManager/PluginUninstallDialog.py
--- a/PluginManager/PluginUninstallDialog.py	Sat Feb 05 16:32:34 2011 +0100
+++ b/PluginManager/PluginUninstallDialog.py	Sat Feb 05 19:55:33 2011 +0100
@@ -174,7 +174,7 @@
         self.__layout.addWidget(self.cw)
         self.resize(size)
         
-        self.cw.accepted[()].connect(self.accept)
+        self.cw.buttonBox.accepted[()].connect(self.accept)
         self.cw.buttonBox.rejected[()].connect(self.reject)
 
 class PluginUninstallWindow(QMainWindow):
@@ -193,5 +193,5 @@
         self.setCentralWidget(self.cw)
         self.resize(size)
         
-        self.cw.accepted[()].connect(self.close)
-        self.cw.buttonBox.rejected[()].connect(self.close)
\ No newline at end of file
+        self.cw.buttonBox.accepted[()].connect(self.close)
+        self.cw.buttonBox.rejected[()].connect(self.close)

eric ide

mercurial