diff --git a/ankiqt/ui/preferences.py b/ankiqt/ui/preferences.py
index 9678d095c..db5ce18cb 100644
--- a/ankiqt/ui/preferences.py
+++ b/ankiqt/ui/preferences.py
@@ -57,9 +57,7 @@ class Preferences(QDialog):
self.done(0)
def reject(self):
- self.origConfig['interfaceLang'] = self.origInterfaceLang
- self.parent.setLang()
- self.done(0)
+ self.accept()
def setupLang(self):
# interface lang
diff --git a/designer/displayproperties.ui b/designer/displayproperties.ui
index 1816f5031..ee3d57d5f 100644
--- a/designer/displayproperties.ui
+++ b/designer/displayproperties.ui
@@ -492,6 +492,13 @@
+ -
+
+
+ Close
+
+
+
@@ -588,12 +595,12 @@
setShown(bool)
- 98
- 448
+ 118
+ 503
- 197
- 447
+ 329
+ 503
@@ -604,12 +611,12 @@
setShown(bool)
- 136
- 471
+ 155
+ 533
- 233
- 468
+ 329
+ 533
@@ -620,12 +627,12 @@
setShown(bool)
- 109
- 501
+ 129
+ 563
- 261
- 499
+ 329
+ 562
@@ -636,12 +643,12 @@
setShown(bool)
- 118
- 538
+ 138
+ 617
- 258
- 543
+ 329
+ 617
@@ -652,12 +659,28 @@
setShown(bool)
- 106
- 569
+ 126
+ 647
- 165
- 567
+ 326
+ 647
+
+
+
+
+ closeButton
+ clicked()
+ DisplayProperties
+ reject()
+
+
+ 294
+ 667
+
+
+ 388
+ -16
diff --git a/designer/main.ui b/designer/main.ui
index 00f41a319..97102a7bb 100644
--- a/designer/main.ui
+++ b/designer/main.ui
@@ -655,7 +655,7 @@
@@ -538,7 +537,7 @@
Qt::Horizontal
- QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok
+ QDialogButtonBox::Close|QDialogButtonBox::Help