mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix (?) operation output type hint
This commit is contained in:
parent
713c8f619d
commit
e9b18c14f2
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
from typing import List, Optional, Tuple
|
from typing import List, Optional, Tuple
|
||||||
|
|
||||||
import aqt
|
import aqt
|
||||||
from anki.collection import OpChangesWithCount, SearchNode
|
from anki.collection import OpChangesWithID, SearchNode
|
||||||
from anki.decks import DeckDict, DeckID, FilteredDeckConfig
|
from anki.decks import DeckDict, DeckID, FilteredDeckConfig
|
||||||
from anki.errors import SearchError
|
from anki.errors import SearchError
|
||||||
from anki.lang import without_unicode_isolation
|
from anki.lang import without_unicode_isolation
|
||||||
|
@ -302,7 +302,7 @@ class FilteredDeckConfigDialog(QDialog):
|
||||||
if not self._update_deck():
|
if not self._update_deck():
|
||||||
return
|
return
|
||||||
|
|
||||||
def success(out: OpChangesWithCount) -> None:
|
def success(out: OpChangesWithID) -> None:
|
||||||
gui_hooks.filtered_deck_dialog_did_add_or_update_deck(self, self.deck)
|
gui_hooks.filtered_deck_dialog_did_add_or_update_deck(self, self.deck)
|
||||||
saveGeom(self, self.GEOMETRY_KEY)
|
saveGeom(self, self.GEOMETRY_KEY)
|
||||||
aqt.dialogs.markClosed(self.DIALOG_KEY)
|
aqt.dialogs.markClosed(self.DIALOG_KEY)
|
||||||
|
|
Loading…
Reference in a new issue