Package: anki
Version: 2.1.8+dfsg-1
Severity: wishlist
Dear Maintainer,
In Anki, when you save the sound, the "Cancel" key is active by default.
When repeating 50 - 100 words per day is not convenient.
I suggest a patch.
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8),
LANGUAGE=ru_RU:ru (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages anki depends on:
ii libjs-jquery 3.3.1~dfsg-3
ii libjs-jquery-flot 0.8.3+dfsg-1
ii libjs-jquery-ui 1.12.1+dfsg-5
ii libjs-mathjax 2.7.4+dfsg-1
ii libqt5core5a 5.11.3+dfsg1-1
ii python3 3.7.3-1
ii python3-bs4 4.7.1-1
ii python3-decorator 4.3.0-1.1
ii python3-distutils 3.7.3-1
ii python3-markdown 3.0.1-3
ii python3-pyaudio 0.2.11-1+b2
ii python3-pyqt5 5.11.3+dfsg-1+b3
ii python3-pyqt5.qtwebchannel 5.11.3+dfsg-1+b3
ii python3-pyqt5.qtwebengine 5.11.3+dfsg-1+b3
ii python3-requests 2.21.0-1
ii python3-send2trash 1.5.0-1
Versions of packages anki recommends:
ii python3-matplotlib 3.0.2-2
Versions of packages anki suggests:
pn dvipng <none>
pn lame <none>
ii mplayer 2:1.3.0-8+b4
-- no debconf information
--- /home/virus/sound.py 2019-07-09 19:46:14.051137308 +0300
+++ /usr/share/anki/aqt/sound.py 2019-07-09 20:09:36.830542031 +0300
@@ -16,9 +16,9 @@
mb.setWindowTitle("Anki")
mb.setIconPixmap(QPixmap(":/icons/media-record.png"))
but = QPushButton(_("Save"))
- mb.addButton(but, QMessageBox.AcceptRole)
- but = QPushButton(_("Cancel"))
mb.addButton(but, QMessageBox.RejectRole)
+ but = QPushButton(_("Cancel"))
+ mb.addButton(but, QMessageBox.AcceptRole)
mb.setEscapeButton(but)
t = time.time()
r.start()