mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Fix filtered deck from browser
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/14
This commit is contained in:
parent
968bd1b27a
commit
0033d49646
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,6 @@ class FilteredDeckConfigDialog(QDialog):
|
|||
|
||||
self.form.name.setText(deck.name)
|
||||
self.form.name.setPlaceholderText(deck.name)
|
||||
self.set_custom_searches(self._desired_search_1, self._desired_search_2)
|
||||
|
||||
existing = deck.id != 0
|
||||
if existing:
|
||||
|
@ -152,6 +151,8 @@ class FilteredDeckConfigDialog(QDialog):
|
|||
form.secondFilter.setChecked(show_second)
|
||||
form.filter2group.setVisible(show_second)
|
||||
|
||||
self.set_custom_searches(self._desired_search_1, self._desired_search_2)
|
||||
|
||||
self.setWindowTitle(
|
||||
without_unicode_isolation(tr.actions_options_for(val=self.deck.name))
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue