diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index bed508fad..a97b20268 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -863,7 +863,13 @@ To upgrade an old deck, download Anki 0.9.8.7.""")) def _showToolTip(self, msg): QToolTip.showText( self.mainWin.statusbar.mapToGlobal(QPoint(0, -40)), - msg) + """\ + + + + + +
%s
""" % msg) def save(self, required=False): if not self.deck.path: @@ -1644,12 +1650,16 @@ it to your friends. ########################################################################## def onLearnMore(self): - self.deck.extraNewCards += self.config['extraNewCards'] + self.deck.newEarly = True self.reset() + self.showToolTip(_("""\ +

Learning More

Click the clock in the toolbar to finish.""")) def onReviewEarly(self): self.deck.reviewEarly = True self.reset() + self.showToolTip(_("""\ +

Reviewing Early

Click the clock in the toolbar to finish.""")) # Language handling ########################################################################## diff --git a/ankiqt/ui/status.py b/ankiqt/ui/status.py index 646df8815..cee810dcf 100644 --- a/ankiqt/ui/status.py +++ b/ankiqt/ui/status.py @@ -175,7 +175,11 @@ class StatusView(object): remStr += "%(failed1)s  %(rev1)s  %(new1)s" stats['failed1'] = '%s' % stats['failed'] stats['rev1'] = '%s' % stats['rev'] - stats['new1'] = '%s' % stats['new'] + if self.main.deck.newEarly: + new = self.main.deck.newCount + else: + new = stats['new'] + stats['new1'] = '%s' % new self.remText.setText(remStr % stats) stats['spaced'] = self.main.deck.spacedCardCount() stats['new2'] = self.main.deck.newCount