mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Preferences: Hide style label too on Windows (#2336)
* Give new labels fitting names * Hide styleLabel too on Windows
This commit is contained in:
parent
73eec1d35a
commit
8730092190
2 changed files with 3 additions and 2 deletions
|
@ -119,14 +119,14 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<widget class="QLabel" name="styleLabel">
|
||||
<property name="text">
|
||||
<string>preferences_style</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="QLabel" name="themeLabel">
|
||||
<property name="text">
|
||||
<string>preferences_theme</string>
|
||||
</property>
|
||||
|
|
|
@ -271,6 +271,7 @@ class Preferences(QDialog):
|
|||
self.form.styleComboBox.currentIndexChanged,
|
||||
self.mw.pm.set_widget_style,
|
||||
)
|
||||
self.form.styleLabel.setVisible(not is_win)
|
||||
self.form.styleComboBox.setVisible(not is_win)
|
||||
self.form.legacy_import_export.setChecked(self.mw.pm.legacy_import_export())
|
||||
|
||||
|
|
Loading…
Reference in a new issue