mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Remove unused add_current_note()
This commit is contained in:
parent
ae42f5685b
commit
26473e6f6c
2 changed files with 0 additions and 4 deletions
|
@ -143,9 +143,6 @@ class NewAddCards(QMainWindow):
|
|||
update_deck=False,
|
||||
)
|
||||
|
||||
def add_current_note(self) -> None:
|
||||
self.editor.web.eval(f"addCurrentNote({self.deck_chooser.selected_deck_id})")
|
||||
|
||||
def keyPressEvent(self, evt: QKeyEvent) -> None:
|
||||
if evt.key() == Qt.Key.Key_Escape:
|
||||
self.close()
|
||||
|
|
|
@ -1088,7 +1088,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
resetIOImageLoaded,
|
||||
saveOcclusions,
|
||||
setSticky,
|
||||
addCurrentNote,
|
||||
...oldEditorAdapter,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue