diff --git a/ankiqt/ui/addcards.py b/ankiqt/ui/addcards.py index 40497f545..afd751010 100644 --- a/ankiqt/ui/addcards.py +++ b/ankiqt/ui/addcards.py @@ -31,6 +31,7 @@ class AddCards(QDialog): self.config = parent.config self.dialog = ankiqt.forms.addcards.Ui_AddCards() self.dialog.setupUi(self) + self.setWindowTitle(_("Add Items - %s") % parent.deck.name()) self.setupEditor() self.addChooser() self.addButtons() diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index 8cf3a0313..dcba02dff 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -511,7 +511,7 @@ class EditDeck(QMainWindow): "cur": len(self.model.cards), "tot": self.deck.cardCount, "sel": ngettext("%d selected", "%d selected", selected) % selected - }) + } + " - " + self.parent.deck.name()) def onEvent(self, type='field'): if self.deck.undoAvailable():