diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-03 10:37:59 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-03 10:37:59 +0200 |
| commit | d4e151f6782dc7a66313eb92bf6e05fa2d343823 (patch) | |
| tree | 2d454705e8fd6a0df52c3d189c817e6c8717b4c3 /ui/articles_view.py | |
| parent | ccbefa7b40f883e85c2b16e48519bece2b909c0c (diff) | |
| download | publisher-d4e151f6782dc7a66313eb92bf6e05fa2d343823.tar.gz publisher-d4e151f6782dc7a66313eb92bf6e05fa2d343823.zip | |
fix: remove dead code/imports, wrap fm column in QScrollArea, fix path display, simplify _save
Diffstat (limited to 'ui/articles_view.py')
| -rw-r--r-- | ui/articles_view.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/articles_view.py b/ui/articles_view.py index d3fac93..f45e736 100644 --- a/ui/articles_view.py +++ b/ui/articles_view.py @@ -1,7 +1,7 @@ from __future__ import annotations from PyQt6.QtWidgets import ( - QWidget, QVBoxLayout, QHBoxLayout, QTabWidget, - QListWidget, QListWidgetItem, QLabel, QPushButton, + QWidget, QVBoxLayout, QTabWidget, + QListWidget, QListWidgetItem, QLabel, ) from PyQt6.QtCore import Qt, pyqtSignal from PyQt6.QtGui import QColor @@ -11,7 +11,6 @@ class ArticleItem(QListWidgetItem): def __init__(self, article: Article): super().__init__() self.article = article - lang_other = "EN" if article.lang == "it" else "IT" if article.has_translation: badge = f"🇬🇧 ✓" if article.lang == "it" else "🇮🇹 ✓" status = f"{article.slug} [{badge}]" |
