if the due counts are disabled, hide in titlebar too

This commit is contained in:
Damien Elmes 2009-04-07 11:31:56 +09:00
parent 8f2f01340a
commit 9418b62c7a
2 changed files with 11 additions and 8 deletions

View file

@ -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,

View file

@ -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>