tooltip() instead of print() when no tts tag matches
Can help with debugging user error like an incorrectly-typed language code. Don't ask me how I know. :-)
This commit is contained in:
parent
9831ca495a
commit
322788133b
@ -35,6 +35,7 @@ from aqt.utils import (
|
||||
saveGeom,
|
||||
showWarning,
|
||||
startup_info,
|
||||
tooltip,
|
||||
tr,
|
||||
)
|
||||
|
||||
@ -208,7 +209,7 @@ class AVPlayer:
|
||||
gui_hooks.av_player_will_play(tag)
|
||||
self.current_player.play(tag, self._on_play_finished)
|
||||
else:
|
||||
print("no players found for", tag)
|
||||
tooltip(f"no players found for {tag}")
|
||||
|
||||
def _best_player_for_tag(self, tag: AVTag) -> Optional[Player]:
|
||||
ranked = []
|
||||
|
Loading…
Reference in New Issue
Block a user