fix: clear stale DB warning, allow playlist panel to resize

This commit is contained in:
2026-04-06 12:55:58 +02:00
parent ccdb50c6a4
commit f93fea2a22
+3 -1
View File
@@ -259,7 +259,7 @@ class PlaylistWidget(QListWidget):
super().__init__() super().__init__()
self.setAcceptDrops(True) self.setAcceptDrops(True)
self.setDragDropMode(QAbstractItemView.DragDropMode.DropOnly) self.setDragDropMode(QAbstractItemView.DragDropMode.DropOnly)
self.setFixedWidth(200) self.setMinimumWidth(200)
self.setWordWrap(True) self.setWordWrap(True)
self._paths: list[str] = [] self._paths: list[str] = []
self.itemClicked.connect(self._on_item_clicked) self.itemClicked.connect(self._on_item_clicked)
@@ -454,6 +454,8 @@ class MainWindow(QMainWindow):
match = self._db.find_similar(os.path.basename(self._file_path)) match = self._db.find_similar(os.path.basename(self._file_path))
if match: if match:
self.statusBar().showMessage(f"⚠ Similar to already processed: {match}") self.statusBar().showMessage(f"⚠ Similar to already processed: {match}")
else:
self.statusBar().clearMessage()
# --- Playback --- # --- Playback ---