Put KAE in debug logging strings
This commit is contained in:
parent
0b91cf7da4
commit
ef17b359e2
@ -943,7 +943,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
def show_current(self) -> None:
|
||||
"""Scroll to show current track"""
|
||||
|
||||
log.debug(f"musicmuster.show_current()")
|
||||
log.debug(f"KAE: musicmuster.show_current()")
|
||||
if self.current_track_playlist_tab != self.visible_playlist_tab:
|
||||
self.tabPlaylist.setCurrentWidget(self.current_track_playlist_tab)
|
||||
self.tabPlaylist.currentWidget().scroll_current_to_top()
|
||||
@ -951,7 +951,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
def show_next(self) -> None:
|
||||
"""Scroll to show next track"""
|
||||
|
||||
log.debug(f"musicmuster.show_next()")
|
||||
log.debug(f"KAE: musicmuster.show_next()")
|
||||
if self.next_track_playlist_tab != self.visible_playlist_tab:
|
||||
self.tabPlaylist.setCurrentWidget(self.next_track_playlist_tab)
|
||||
self.tabPlaylist.currentWidget().scroll_next_to_top()
|
||||
|
||||
@ -823,17 +823,17 @@ class PlaylistTab(QTableWidget):
|
||||
def scroll_current_to_top(self) -> None:
|
||||
"""Scroll currently-playing row to top"""
|
||||
|
||||
log.debug("playlists.scroll_current_to_top()")
|
||||
log.debug("KAE: playlists.scroll_current_to_top()")
|
||||
current_row = self._get_current_track_row()
|
||||
log.debug(f"playlists.scroll_current_to_top(), {current_row=}")
|
||||
log.debug(f"KAE: playlists.scroll_current_to_top(), {current_row=}")
|
||||
self._scroll_to_top(current_row)
|
||||
|
||||
def scroll_next_to_top(self) -> None:
|
||||
"""Scroll nextly-playing row to top"""
|
||||
|
||||
log.debug("playlists.scroll_next_to_top()")
|
||||
log.debug("KAE: playlists.scroll_next_to_top()")
|
||||
next_row = self._get_next_track_row()
|
||||
log.debug(f"playlists.scroll_next_to_top(), {next_row=}")
|
||||
log.debug(f"KAE: playlists.scroll_next_to_top(), {next_row=}")
|
||||
self._scroll_to_top(next_row)
|
||||
|
||||
def set_search(self, text: str) -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user