Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867722 Details for
Bug 869917
app-misc/anki-2.1.15-r1: Error when opening preferences
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for deck options
anki-2.1.15-deck-options.patch (text/plain), 1.25 KB, created by
silver_ghost
on 2023-08-12 16:28:45 UTC
(
hide
)
Description:
Patch for deck options
Filename:
MIME Type:
Creator:
silver_ghost
Created:
2023-08-12 16:28:45 UTC
Size:
1.25 KB
patch
obsolete
>diff -ru a/aqt/deckconf.py b/aqt/deckconf.py >--- a/aqt/deckconf.py 2023-08-12 19:22:06.045355736 +0300 >+++ b/aqt/deckconf.py 2023-08-12 19:22:06.045355736 +0300 >@@ -172,7 +172,7 @@ > f.lrnGradInt.setValue(c['ints'][0]) > f.lrnEasyInt.setValue(c['ints'][1]) > f.lrnEasyInt.setValue(c['ints'][1]) >- f.lrnFactor.setValue(c['initialFactor']/10.0) >+ f.lrnFactor.setValue(int(c['initialFactor']/10.0)) > f.newOrder.setCurrentIndex(c['order']) > f.newPerDay.setValue(c['perDay']) > f.bury.setChecked(c.get("bury", True)) >@@ -180,7 +180,7 @@ > # rev > c = self.conf['rev'] > f.revPerDay.setValue(c['perDay']) >- f.easyBonus.setValue(c['ease4']*100) >+ f.easyBonus.setValue(int(c['ease4']*100)) > f.fi1.setValue(c['ivlFct']*100) > f.maxIvl.setValue(c['maxIvl']) > f.revplim.setText(self.parentLimText('rev')) >@@ -192,7 +192,7 @@ > # lapse > c = self.conf['lapse'] > f.lapSteps.setText(self.listToUser(c['delays'])) >- f.lapMult.setValue(c['mult']*100) >+ f.lapMult.setValue(int(c['mult']*100)) > f.lapMinInt.setValue(c['minInt']) > f.leechThreshold.setValue(c['leechFails']) > f.leechAction.setCurrentIndex(c['leechAction'])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 869917
:
860676
| 867722