mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
if the due counts are disabled, hide in titlebar too
This commit is contained in:
parent
8f2f01340a
commit
9418b62c7a
2 changed files with 11 additions and 8 deletions
|
@ -1825,6 +1825,9 @@ it to your friends.
|
|||
deckpath = self.deck.name()
|
||||
if self.deck.modifiedSinceSave():
|
||||
deckpath += "*"
|
||||
if not self.config['showProgress']:
|
||||
title = deckpath + " - " + title
|
||||
else:
|
||||
title = _("%(path)s (%(due)d of %(cards)d due)"
|
||||
" - %(title)s") % {
|
||||
"path": deckpath,
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<item>
|
||||
<widget class="QCheckBox" name="showProgress" >
|
||||
<property name="text" >
|
||||
<string>Show information in status bar</string>
|
||||
<string>Show due count, ETA and performance bars</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in a new issue