This commit is contained in:
Kovid Goyal 2012-05-31 16:26:53 +05:30
parent 866a489eb2
commit 41502a9c49

View File

@ -210,6 +210,7 @@ class Preferences(QMainWindow):
self.wizard_button.setIcon(QIcon(I('wizard.png')))
self.wizard_button.clicked.connect(self.run_wizard,
type=Qt.QueuedConnection)
self.bb.button(self.bb.Close).setDefault(True)
self.cw.layout().addWidget(self.bb)
self.bb.rejected.connect(self.close, type=Qt.QueuedConnection)
self.setCentralWidget(self.cw)