b9c3b12f71
* Add forget prompt with options - Restore original position - Reset reps and lapses * Restore position when resetting for export * Add config context to avoid passing keys * Add routine to fetch defaults; use method-specific enum (dae) * Keep original position by default (dae) * Fix code completion for forget dialog (dae) Needs to be a symbolic link to the generated file
7 lines
126 B
Python
7 lines
126 B
Python
from aqt.qt import qtmajor
|
|
|
|
if qtmajor > 5:
|
|
from .forget_qt6 import *
|
|
else:
|
|
from .forget_qt5 import * # type: ignore
|