mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
Add legacy alias browser.onRowChanged()
This commit is contained in:
parent
3a5d86c344
commit
c146f33faa
1 changed files with 4 additions and 0 deletions
|
@ -437,6 +437,10 @@ class Browser(QMainWindow):
|
||||||
self._update_selection_actions()
|
self._update_selection_actions()
|
||||||
gui_hooks.browser_did_change_row(self)
|
gui_hooks.browser_did_change_row(self)
|
||||||
|
|
||||||
|
@deprecated(info="please use on_all_or_selected_rows_changed() instead.")
|
||||||
|
def onRowChanged(self, *args: Any) -> None:
|
||||||
|
self.on_all_or_selected_rows_changed()
|
||||||
|
|
||||||
def on_current_row_changed(self) -> None:
|
def on_current_row_changed(self) -> None:
|
||||||
"""Called after the row of the current element has changed."""
|
"""Called after the row of the current element has changed."""
|
||||||
if self._closeEventHasCleanedUp:
|
if self._closeEventHasCleanedUp:
|
||||||
|
|
Loading…
Reference in a new issue