Add debug log for tag categories in info panel
This commit is contained in:
parent
b6c6a6222a
commit
8f2fc14b43
@ -122,6 +122,7 @@ class InfoPanel(QWidget):
|
||||
layout.addWidget(self._tags_scroll, stretch=1)
|
||||
|
||||
def set_post(self, post: Post) -> None:
|
||||
log.debug(f"InfoPanel: tag_categories={list(post.tag_categories.keys()) if post.tag_categories else 'empty'}")
|
||||
self._title.setText(f"Post #{post.id}")
|
||||
filetype = Path(post.file_url.split("?")[0]).suffix.lstrip(".").upper() if post.file_url else "unknown"
|
||||
self._details.setText(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user