mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
save->close
This commit is contained in:
parent
18d671c3a3
commit
c5297afad4
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class EditCurrent(QDialog):
|
|||
self.setWindowTitle(_("Edit Current"))
|
||||
self.setMinimumHeight(400)
|
||||
self.setMinimumWidth(500)
|
||||
self.connect(self.form.buttonBox.button(QDialogButtonBox.Save),
|
||||
self.connect(self.form.buttonBox.button(QDialogButtonBox.Close),
|
||||
SIGNAL("clicked()"),
|
||||
self.onSave)
|
||||
self.connect(self,
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Save</set>
|
||||
<set>QDialogButtonBox::Close</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in a new issue